Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions BioArchLinux/r-leaflet.providers/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Maintainer: Christos Longros <chris.longros@gmail.com>
_pkgname=leaflet.providers
_pkgver=3.0.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Default Configurations for Extra Map Tile Providers Used by 'leaflet'"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('BSD-2-Clause')
depends=(
r-htmltools
)
optdepends=(
r-jsonlite
r-v8
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('1ad3d285a18259618b892a6fccf169bd')
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sums is not enough, please see what ohter pkgs in our repo

build() {
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
package() {
install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
}
11 changes: 11 additions & 0 deletions BioArchLinux/r-leaflet.providers/lilac.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env python3
from lilaclib import *
import os
import sys
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build
def pre_build():
r_pre_build(_G)
def post_build():
git_pkgbuild_commit()
update_aur_repo()
12 changes: 12 additions & 0 deletions BioArchLinux/r-leaflet.providers/lilac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
build_prefix: extra-x86_64
maintainers:
- github: chrislongros
email: chris.longros@gmail.com
repo_depends:
- r-htmltools
update_on:
- source: rpkgs
pkgname: leaflet.providers
repo: cran
md5: true
- alias: r