diff options
author | Csonka Mihaly | 2019-05-02 19:01:31 +0200 |
---|---|---|
committer | Csonka Mihaly | 2019-05-02 19:01:31 +0200 |
commit | d106993d855eb45d9beb0de9894da25fe395853d (patch) | |
tree | 3a09139e8ccfe4e2d2951260950e29b450b43ceb | |
download | aur-d106993d855eb45d9beb0de9894da25fe395853d.tar.gz |
Initial release package 20190502
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..23a7402fbc5e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = r-unix + pkgdesc = to system utilities found in most Unix systems. + pkgver = 1.5 + pkgrel = 1 + url = https://cran.r-project.org/package=unix + arch = x86_64 + license = MIT + depends = r + source = https://cran.r-project.org/src/contrib/unix_1.5.tar.gz + md5sums = c2964321773cb7f98c0fb37cc6d169a6 + +pkgname = r-unix + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2f4c543ed3bc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Contributor: Kibouo <csonka.mihaly@hotmail.com> +_cranname=unix +_cranver=1.5 +_pkgtar=${_cranname}_${_cranver}.tar.gz +pkgname=r-unix +pkgver=${_cranver//[:-]/.} +pkgrel=1 +pkgdesc=' to system utilities found in most Unix systems.' +arch=('x86_64') +url="https://cran.r-project.org/package=${_cranname}" +license=('MIT') +depends=('r') +source=("https://cran.r-project.org/src/contrib/${_pkgtar}") +md5sums=('c2964321773cb7f98c0fb37cc6d169a6') + +build(){ + R CMD INSTALL ${_pkgtar} -l $srcdir +} +package() { + install -d "$pkgdir/usr/lib/R/library" + cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library" +} + |