summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorViktor Drobot2020-02-03 15:09:44 +0300
committerViktor Drobot2020-02-03 15:09:44 +0300
commit173a206384ac1597ca4c160d37682b5f88008754 (patch)
tree2881ab3514f3bdb59b2a31dca4530fe8a8fdff13
downloadaur-r-metadynminer3d.tar.gz
First release
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD27
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e1d49a22878
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = r-metadynminer3d
+ pkgdesc = Tools to Read, Analyze and Visualize Metadynamics 3D HILLS Files from 'Plumed'
+ pkgver = 0.0.1
+ pkgrel = 1
+ url = https://cran.r-project.org/package=metadynminer3d
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = gcc>=4.3
+ depends = r>=3.3.0
+ depends = r-metadynminer
+ depends = r-rgl
+ depends = r-rcpp
+ depends = r-misc3d
+ optdepends = testthat
+ source = https://cran.r-project.org/src/contrib/metadynminer3d_0.0.1.tar.gz
+ md5sums = 3cdd3e9333c165d3347d44595aa46050
+
+pkgname = r-metadynminer3d
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..df37b53673f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+_cranname=metadynminer3d
+_cranver=0.0.1
+pkgname=r-${_cranname,,}
+pkgver=${_cranver//[:-]/.}
+pkgrel=1
+pkgdesc="Tools to Read, Analyze and Visualize Metadynamics 3D HILLS Files from 'Plumed'"
+arch=(i686 x86_64)
+url="https://cran.r-project.org/package=${_cranname}"
+license=(GPL3)
+depends=('r>=3.3.0' r-metadynminer r-rgl r-rcpp r-misc3d)
+makedepends=('gcc>=4.3')
+optdepends=(testthat)
+source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
+md5sums=('3cdd3e9333c165d3347d44595aa46050')
+
+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"
+}