Packages/BioArchLinux/r-cohcapanno/PKGBUILD
2024-01-17 21:45:55 +02:00

27 lines
817 B
Bash

# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=COHCAPanno
_pkgver=1.38.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=2
pkgdesc="Annotations for City of Hope CpG Island Analysis Pipeline"
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=('78fd4891651a8a62779fe402a13ba6b1')
b2sums=('80b9b704786213e621f80e67255a86992aea04d4f1044741835deda529ce86b3cfb0f46c1962dc6a2ccfeb6b17000586548c39cde2629855742ef82f1d5642a8')
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"
}