diff options
author | Hector Mtz-Seara | 2016-01-08 11:55:29 +0100 |
---|---|---|
committer | Hector Mtz-Seara | 2016-01-08 11:55:29 +0100 |
commit | 447fd7070d2b5f750627087841d5b64bae332078 (patch) | |
tree | e6f8aa1ab174597eff6c1e41734dfc02f7eb9f9d | |
download | aur-447fd7070d2b5f750627087841d5b64bae332078.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 40 |
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6d16ba8e065e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +# Generated by mksrcinfo v8 +# Fri Jan 8 10:55:15 UTC 2016 +pkgbase = votca-csg + pkgdesc = Versatile Object-oriented Toolkit for Coarse-graining Applications (VOTCA) is a package intended to reduce the amount of routine work when doing systematic coarse-graining of various systems. + pkgver = 1.2.4 + pkgrel = 1 + url = http://www.votca.org/ + arch = i686 + arch = x86_64 + license = Apache + makedepends = cmake + makedepends = doxygen + depends = python2 + depends = votca-tools + depends = gromacs-5.0-complete + optdepends = python2-espressopp + source = https://github.com/votca/csg/archive/v1.2.4.tar.gz + sha1sums = 0ff663e19892579bc286ae01375b864fe8d2e5e8 + +pkgname = votca-csg + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..eafba3a99a3b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# PKGBUILD template to install Espresso +# Maintainer: Hector Martinez-Seara Monne <hseara ##[at]## gmail?com> + +pkgname=(votca-csg) +pkgver=1.2.4 +pkgrel=1 +pkgdesc="Versatile Object-oriented Toolkit for Coarse-graining Applications (VOTCA) is a package intended to reduce the amount of routine work when doing systematic coarse-graining of various systems." +url="http://www.votca.org/" +license=("Apache") +arch=(i686 x86_64) +depends=('python2' 'votca-tools' 'gromacs-5.0-complete') +optdepends=('python2-espressopp') +makedepends=('cmake' 'doxygen') +source=(https://github.com/votca/csg/archive/v${pkgver}.tar.gz) +sha1sums=('0ff663e19892579bc286ae01375b864fe8d2e5e8') + +build() { +# msg2 "Fixing python2 invokation" +# cd ${srcdir}/${pkgname}-${pkgver}/share/scripts/inverse +# sed -i 1s/python2*/python2/ *.py + source /usr/local/gromacs/gromacs-5.0.7/bin/GMXRC + msg2 "Building votca-csg" + #Real Configuration + mkdir -p ${srcdir}/build + cd ${srcdir}/build + cmake ../csg-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DWITH_RC_FILES=OFF \ + -DEXTERNAL_BOOST=ON \ + -DWITH_GMX_DEVEL=ON + make +} + +package() { + source /usr/local/gromacs/gromacs-5.0.7/bin/GMXRC + msg2 "Making executables" + cd ${srcdir}/build + make DESTDIR=${pkgdir} install +} + |