blob: 6eba60fd937a316fe98300f920b7c807852d4040 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=chopsticks
_pkgver=1.72.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="The 'snp.matrix' and 'X.snp.matrix' Classes"
arch=(x86_64)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-3.0-only')
depends=(
r
)
optdepends=(
r-hexbin
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('7b4d334f96e86d4b6e90f5177710fe3e')
b2sums=('373a9a03da25c5e959da98825f5cd250fb169fe6c9498222bfed70550cacbd94e77293d7ace236e3210fd6fb5486d74a7bffe1c89fe9d8823499839f1d403b6b')
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"
}
|