diff options
author | Alex Branham | 2018-05-29 14:19:25 -0500 |
---|---|---|
committer | Alex Branham | 2018-05-29 14:19:25 -0500 |
commit | a965fe22a6e783174765782aacf88c459828d4d4 (patch) | |
tree | 1c07ad0fbfba7eba58e97234e498c6d517ebb421 | |
download | aur-a965fe22a6e783174765782aacf88c459828d4d4.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ec031effaf4e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = r-haven + pkgdesc = Import and Export SPSS, Stata and SAS Files + pkgver = 1.1.1 + pkgrel = 1 + url = https://cran.r-project.org/web/packages/haven/index.html + arch = any + license = MIT + depends = r + depends = r-cran-forcats + depends = r-cran-hms + depends = r-cran-readr + depends = r-cran-tibble + optdepends = r-covr + optdepends = r-knitr + optdepends = r-rmarkdown + optdepends = r-testthat + source = https://cran.r-project.org/src/contrib/haven_1.1.1.tar.gz + md5sums = dc4bf0503c1cad72ff82b84591a4dcfc + +pkgname = r-haven + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bb3424d1a28a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Alex Branham <branham@utexas.edu> +_cranname=haven +_cranver=1.1.1 +_pkgtar=${_cranname}_${_cranver}.tar.gz +pkgname=r-haven +pkgver=${_cranver//[:-]/.} +pkgrel=1 +pkgdesc="Import and Export SPSS, Stata and SAS Files" +arch=('any') +url="https://cran.r-project.org/web/packages/${_cranname}/index.html" +license=('MIT') +depends=('r' 'r-cran-forcats' 'r-cran-hms' 'r-cran-readr' 'r-cran-tibble') + +optdepends=('r-covr' 'r-knitr' 'r-rmarkdown' 'r-testthat') + +source=("https://cran.r-project.org/src/contrib/${_pkgtar}") +md5sums=('dc4bf0503c1cad72ff82b84591a4dcfc') + +build(){ + R CMD INSTALL ${_pkgtar} -l $srcdir +} +package() { + install -d "$pkgdir/usr/lib/R/library" + cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library" +} + |