summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Branham2018-05-30 17:26:08 -0500
committerAlex Branham2018-05-30 17:26:08 -0500
commit4066502628028335f2376ede45c2e0ea3f4682d9 (patch)
tree0b805db9e767b233c3923ece3fcf528bfa5f31d4
downloadaur-4066502628028335f2376ede45c2e0ea3f4682d9.tar.gz
Initial commit
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD26
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..230c7338c32
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = r-backports
+ pkgdesc = Reimplementations of Functions Introduced Since R-3.0.0
+ pkgver = 1.1.2
+ pkgrel = 1
+ url = https://cran.r-project.org/web/packages/backports/index.html
+ arch = any
+ license = GPL2
+ depends = r
+ source = https://cran.r-project.org/src/contrib/backports_1.1.2.tar.gz
+ md5sums = 8554a095aefd1d294c2284df600c9323
+
+pkgname = r-backports
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..452db4f57b1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Alex Branham <branham@utexas.edu>
+_cranname=backports
+_cranver=1.1.2
+_pkgtar=${_cranname}_${_cranver}.tar.gz
+pkgname=r-backports
+pkgver=${_cranver//[:-]/.}
+pkgrel=1
+pkgdesc="Reimplementations of Functions Introduced Since R-3.0.0"
+arch=('any')
+url="https://cran.r-project.org/web/packages/${_cranname}/index.html"
+license=('GPL2')
+depends=('r' )
+
+
+
+source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
+md5sums=('8554a095aefd1d294c2284df600c9323')
+
+build(){
+ R CMD INSTALL ${_pkgtar} -l $srcdir
+}
+package() {
+ install -d "$pkgdir/usr/lib/R/library"
+ cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library"
+}
+