summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD20
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7b05665fae6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = r-reshape2
+ pkgdesc = Flexibly Reshape Data: A Reboot of the Reshape Package
+ pkgver = 1.4.3
+ pkgrel = 1
+ url = http://cran.r-project.org/web/packages/reshape2/index.html
+ arch = i686
+ arch = x86_64
+ license = MIT
+ depends = r>=3.1
+ depends = r-plyr>=1.8.1
+ depends = r-rcpp
+ depends = r-stringr
+ source = http://cran.r-project.org/src/contrib/reshape2_1.4.3.tar.gz
+ md5sums = 8f35f5a2b7d4f081e9825f1095133288
+
+pkgname = r-reshape2
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d47cb58e75f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: frichtlm <frichtlm@gmail.com>
+# Contribitor: wagnerflo <florian@wagner-flo.net>
+_cranname=reshape2
+_cranver=1.4.3
+pkgname=r-$_cranname
+pkgver=${_cranver}
+pkgrel=1
+pkgdesc="Flexibly Reshape Data: A Reboot of the Reshape Package"
+url="http://cran.r-project.org/web/packages/${_cranname}/index.html"
+arch=('i686' 'x86_64')
+license=('MIT')
+depends=('r>=3.1' 'r-plyr>=1.8.1' 'r-rcpp' 'r-stringr')
+source=("http://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
+md5sums=('8f35f5a2b7d4f081e9825f1095133288')
+
+package() {
+ mkdir -p ${pkgdir}/usr/lib/R/library
+ cd ${srcdir}
+ R CMD INSTALL ${_cranname} -l ${pkgdir}/usr/lib/R/library
+}