summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD33
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3616393dfb2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = r-ape
+ pkgdesc = Analyses of Phylogenetics and Evolution
+ pkgver = 5.6.2
+ pkgrel = 3
+ url = https://cran.r-project.org/package=ape
+ arch = x86_64
+ license = GPL
+ depends = r
+ depends = r-rcpp
+ optdepends = r-expm
+ optdepends = r-gee
+ optdepends = r-igraph
+ optdepends = r-phangorn
+ source = https://cran.r-project.org/src/contrib/ape_5.6-2.tar.gz
+ sha256sums = 9b62450a0390a1f07df007d348ad4cedcd814d42cb11c5a300ed33550fd41257
+
+pkgname = r-ape
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..30dfb74e243
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
+
+_pkgname=ape
+_pkgver=5.6-2
+pkgname=r-${_pkgname,,}
+pkgver=5.6.2
+pkgrel=3
+pkgdesc='Analyses of Phylogenetics and Evolution'
+arch=('x86_64')
+url="https://cran.r-project.org/package=${_pkgname}"
+license=('GPL')
+depends=(
+ r
+ r-rcpp
+)
+optdepends=(
+ r-expm
+ r-gee
+ r-igraph
+ r-phangorn
+)
+source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
+sha256sums=('9b62450a0390a1f07df007d348ad4cedcd814d42cb11c5a300ed33550fd41257')
+
+build() {
+ R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
+}
+
+package() {
+ install -dm0755 "${pkgdir}/usr/lib/R/library"
+ cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
+}
+# vim:set ts=2 sw=2 et: