Packages/BioArchLinux/r-illumina450probevariants.db/PKGBUILD

27 lines
894 B
Bash

# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=Illumina450ProbeVariants.db
_pkgver=1.42.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Annotation Package combining variant data from 1000 Genomes Project for Illumina HumanMethylation450 Bead Chip probes"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-3.0-only')
depends=(
r
)
source=("https://bioconductor.org/packages/release/data/experiment/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('a439949b2c954d589bc6e56ba1d13b0a')
b2sums=('82382840b70a44970b3c050663295507b0834cbf5f4a1ffb24e525df236d6217efb96924fedf87ef57ba0d63f3ad7a8106815bfb3e8a5cf79d0889de5ca7c952')
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"
}