summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Frichtl2019-10-11 11:57:42 -0400
committerMatt Frichtl2019-10-11 11:57:42 -0400
commitc62c43f76ed2fc097bf9549424b1fbbc8080ff20 (patch)
tree788ce11edf564ae50234f553c8bb210ce096c142
downloadaur-c62c43f76ed2fc097bf9549424b1fbbc8080ff20.tar.gz
Initial commit. Version 0.1.0
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD26
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cf327ae5f9a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = r-lifecycle
+ pkgdesc = Manage the lifecycle of your exported functions with shared conventions, documentation badges, and non-invasive deprecation warnings.
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://cran.r-project.org/package=lifecycle
+ arch = i686
+ arch = x86_64
+ license = GPL-3
+ depends = r>=3.2
+ depends = r-glue
+ depends = r-rlang>=0.4.0
+ optdepends = r-covr
+ optdepends = r-crayon
+ optdepends = r-knitr
+ optdepends = r-markdown
+ optdepends = r-testthat
+ source = http://cran.r-project.org/src/contrib/lifecycle_0.1.0.tar.gz
+ md5sums = a039f080eb1dc67a40ce92ddced20cac
+
+pkgname = r-lifecycle
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3dd2c01700c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: frichtlm <frichtlm@gmail.com>
+_cranname=lifecycle
+_cranver=0.1.0
+pkgname=r-$_cranname
+pkgver=${_cranver}
+pkgrel=1
+pkgdesc="Manage the lifecycle of your exported functions with shared conventions, documentation badges, and non-invasive deprecation warnings."
+url="https://cran.r-project.org/package=lifecycle"
+arch=('i686' 'x86_64')
+license=('GPL-3')
+depends=('r>=3.2' 'r-glue' 'r-rlang>=0.4.0')
+optdepends=('r-covr' 'r-crayon' 'r-knitr' 'r-markdown' 'r-testthat')
+source=("http://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
+md5sums=('a039f080eb1dc67a40ce92ddced20cac')
+
+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"
+}