diff options
author | Drobot Viktor | 2019-09-30 19:02:54 +0300 |
---|---|---|
committer | Drobot Viktor | 2019-09-30 19:02:54 +0300 |
commit | d8661bfa5f03fbc973b070c3be0a168f2d3de6fd (patch) | |
tree | 1988e0e04c942492761723de8841f24f43feb62b | |
download | aur-d8661bfa5f03fbc973b070c3be0a168f2d3de6fd.tar.gz |
Initial release
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..58ee2d88b202 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = r-formula.tools + pkgdesc = Programmatic Utilities for Manipulating Formulas, Expressions, Calls, Assignments and Other R Objects + pkgver = 1.7.1 + pkgrel = 1 + url = https://cran.r-project.org/package=formula.tools + arch = any + license = GPL2 + depends = r + depends = r-operator.tools>=1.4.0 + optdepends = r-magrittr + optdepends = r-testthat + source = http://cran.r-project.org/src/contrib/formula.tools_1.7.1.tar.gz + md5sums = ab6ac9a593b99ef94148b2c908abc07d + +pkgname = r-formula.tools + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e03afba9c4a1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com + +_cranname=formula.tools +_cranver=1.7.1 +pkgname=r-${_cranname} +pkgver=${_cranver//[:-]/.} +pkgrel=1 +pkgdesc="Programmatic Utilities for Manipulating Formulas, Expressions, Calls, Assignments and Other R Objects" +arch=(any) +url="https://cran.r-project.org/package=${_cranname}" +license=('GPL2') +depends=('r' 'r-operator.tools>=1.4.0') +optdepends=('r-magrittr' 'r-testthat') +source=("http://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz") +md5sums=('ab6ac9a593b99ef94148b2c908abc07d') + +build(){ + cd "${srcdir}" + + R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l $srcdir +} + +package() { + cd "${srcdir}" + + install -dm0755 "$pkgdir/usr/lib/R/library" + cp -a --no-preserve=ownership "$_cranname" "$pkgdir/usr/lib/R/library" +} |