blob: 20c97fed13ff00f06ee6af04c470b550ccaedd44 (
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
31
32
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=qtl
_pkgver=1.70
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Tools for Analyzing QTL Experiments"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-3.0-only')
depends=(
blas
lapack
r
)
optdepends=(
r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('4950adb04bace9b665b1d1cbf0aff6f1')
b2sums=('c9c3c54c5ed58a18058e232017db6f445a3bd2ad1dc5c199e310039138635d9cc0e2a64f44ba51ffa1283bb878311d6faa5a9989fb388685d66b9e2cf9870c94')
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"
}
|