mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
31 lines
828 B
Bash
31 lines
828 B
Bash
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
|
|
# Contributor: Guoyi Zhang <guoyizhang at malacology dot net>
|
|
# Contributor: Alex Branham <branham@utexas.edu>
|
|
|
|
_pkgname=kernlab
|
|
_pkgver=0.9-32
|
|
pkgname=r-${_pkgname,,}
|
|
pkgver=${_pkgver//-/.}
|
|
pkgrel=4
|
|
pkgdesc="Kernel-Based Machine Learning Lab"
|
|
arch=(x86_64)
|
|
url="https://cran.r-project.org/package=${_pkgname}"
|
|
license=(GPL2)
|
|
depends=(
|
|
blas
|
|
lapack
|
|
r
|
|
)
|
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
|
md5sums=('024ddb451bb525a61e5d17d43c52f400')
|
|
sha256sums=('654ef34e343deb4d2c4c139a44e5397d6e38876088ce1c53c7deb087935d6fdc')
|
|
|
|
build() {
|
|
mkdir -p build
|
|
R CMD INSTALL "$_pkgname" -l build
|
|
}
|
|
|
|
package() {
|
|
install -d "$pkgdir/usr/lib/R/library"
|
|
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
|
}
|