summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Frichtl2019-11-27 16:28:13 -0500
committerMatt Frichtl2019-11-27 16:28:13 -0500
commit7746bec9fe917f66ce4323ffa1765b461e77da41 (patch)
treebb4778736abb74c676b4c97d88cea92e553f5b5f
downloadaur-7746bec9fe917f66ce4323ffa1765b461e77da41.tar.gz
Initial commit. Version 0.0.2
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD26
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..10a80f5b3d7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = r-generics
+ pkgdesc = Common S3 Generics not Provided by Base R Methods Related to Model Fitting
+ pkgver = 0.0.2
+ pkgrel = 1
+ url = https://cran.r-project.org/package=generics
+ arch = any
+ license = GPL-2
+ depends = r>=3.1
+ optdepends = r-covr
+ optdepends = r-pkgload
+ optdepends = r-testthat
+ optdepends = r-tibble
+ source = http://cran.r-project.org/src/contrib/generics_0.0.2.tar.gz
+ md5sums = 9b4d9351c6c413e6f67ec7a041217946
+
+pkgname = r-generics
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..14067640f6e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: frichtlm <frichtlm@gmail.com>
+_cranname=generics
+_cranver=0.0.2
+pkgname=r-$_cranname
+pkgver=${_cranver}
+pkgrel=1
+pkgdesc="Common S3 Generics not Provided by Base R Methods Related to Model Fitting"
+url="https://cran.r-project.org/package=${_cranname}"
+arch=('any')
+license=('GPL-2')
+depends=('r>=3.1')
+optdepends=('r-covr' 'r-pkgload' 'r-testthat' 'r-tibble')
+source=("http://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
+#source=("http://cran.r-project.org/src/contrib/Archive/${_cranname}/${_cranname}_${_cranver}.tar.gz" # uncomment if 404 error
+md5sums=('9b4d9351c6c413e6f67ec7a041217946')
+
+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"
+}