blob: 7d5ded2940bf988d8927a7dd9d7d126cc73bee65 (
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
|
# Maintainer: sukanka <su975853527@gmail.com>
_pkgname=multipol
_pkgver=1.0-9
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=4
pkgdesc="Multivariate Polynomials"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
r-abind
)
optdepends=(
r-polynom
r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('d3a4bfaf81932f44018a064c7ae3b5c8')
b2sums=('c70fa60813fe0b0aa1d358532a961cd880f6e661785504201f9d983b8f980e7c25d9b089f84c2671a893e51589d32925008ba3142dfa3336dcfe232c57339581')
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"
}
|