mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
35 lines
917 B
Bash
35 lines
917 B
Bash
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
|
|
|
|
_pkgname=alabaster.schemas
|
|
_pkgver=1.2.0
|
|
pkgname=r-${_pkgname,,}
|
|
pkgver=${_pkgver//-/.}
|
|
pkgrel=1
|
|
pkgdesc="Schemas for the Alabaster Framework"
|
|
arch=(any)
|
|
url="https://bioconductor.org/packages/${_pkgname}"
|
|
license=(MIT)
|
|
depends=(
|
|
r
|
|
)
|
|
optdepends=(
|
|
r-biocstyle
|
|
r-knitr
|
|
r-rmarkdown
|
|
)
|
|
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
|
md5sums=('308883d85ab416d45eaa55428463d308')
|
|
sha256sums=('c1d74a8560654dcc4bf1254b39bc0e15938387038be9eec91daf1cd72569976b')
|
|
|
|
build() {
|
|
mkdir -p build
|
|
R CMD INSTALL "$_pkgname" -l build
|
|
}
|
|
|
|
package() {
|
|
install -d "$pkgdir/usr/lib/R/library"
|
|
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
|
|
|
install -d "$pkgdir/usr/share/licenses/$pkgname"
|
|
ln -s "/usr/lib/R/library/$_pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
|
|
}
|