diff options
author | Viktor Drobot | 2020-06-04 21:09:21 +0300 |
---|---|---|
committer | Viktor Drobot | 2020-06-04 21:09:21 +0300 |
commit | 03ac5d89220ad61fa12a10d9589db0dfd17a81be (patch) | |
tree | d63e6fef390470ad247f6f14ffdb3a1ef4060b24 | |
download | aur-03ac5d89220ad61fa12a10d9589db0dfd17a81be.tar.gz |
First release
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2f28c2272b11 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = r-polynom + pkgdesc = A Collection of Functions to Implement a Class for Univariate Polynomial Manipulations + pkgver = 1.4.0 + pkgrel = 1 + url = https://cran.r-project.org/package=polynom + arch = any + license = GPL2 + depends = r + optdepends = r-knitr + optdepends = r-rmarkdown + source = https://cran.r-project.org/src/contrib/polynom_1.4-0.tar.gz + md5sums = a76b0d9b5e1c2eb9cf960cb3b0f95b40 + +pkgname = r-polynom + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..810a73dcb8c0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com + +_cranname=polynom +_cranver=1.4-0 +pkgname=r-${_cranname,,} +pkgver=${_cranver//[:-]/.} +pkgrel=1 +pkgdesc="A Collection of Functions to Implement a Class for Univariate Polynomial Manipulations" +arch=(any) +url="https://cran.r-project.org/package=${_cranname}" +license=(GPL2) +depends=(r) +optdepends=(r-knitr r-rmarkdown) +source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz") +md5sums=('a76b0d9b5e1c2eb9cf960cb3b0f95b40') + +build() { + R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l "${srcdir}" +} + +package() { + install -dm0755 "${pkgdir}/usr/lib/R/library" + + cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library" +} |