mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
27 lines
797 B
Bash
27 lines
797 B
Bash
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
|
|
|
_pkgname=gpls
|
|
_pkgver=1.74.0
|
|
pkgname=r-${_pkgname,,}
|
|
pkgver=${_pkgver//-/.}
|
|
pkgrel=2
|
|
pkgdesc="Classification using generalized partial least squares"
|
|
arch=(any)
|
|
url="https://bioconductor.org/packages/$_pkgname"
|
|
license=('Artistic-2.0')
|
|
depends=(
|
|
r
|
|
)
|
|
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
|
md5sums=('db6bc720156a5f7571a34e64b1189d3b')
|
|
b2sums=('f647d89a455f050a3189a23cca82b14697f1ea5aebd6851900353cee91747f52f66f4d97550fa0d8c14a57fd97993ed8fadd11110aaf108cfd91e8d7a2ba61ca')
|
|
|
|
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"
|
|
}
|