summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHector Mtz-Seara2018-05-09 12:18:37 +0200
committerHector Mtz-Seara2018-05-09 12:18:37 +0200
commit3329b7198a8b6ef7c31545197ec955decc3c0bdc (patch)
tree1cf89bd204f3174acbe318ed35c4e5e8925aac69
parent902993f7e0ee61332356da949fd847a0e6e3b572 (diff)
downloadaur-3329b7198a8b6ef7c31545197ec955decc3c0bdc.tar.gz
Updated to 7.2.1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 12 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 389580ed75e..3f68547a003 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = openmm
pkgdesc = Toolkit for molecular simulation using high performance GPU code
- pkgver = 7.1.1
+ pkgver = 7.2.1
pkgrel = 1
url = http://openmm.org/
arch = i686
@@ -11,8 +11,8 @@ pkgbase = openmm
makedepends = swig
makedepends = doxygen
depends = fftw
- source = https://github.com/pandegroup/openmm/archive/7.1.1.tar.gz
- sha1sums = c847c6cb654ee9f7dbf16babc1979f4021dc1d69
+ source = https://github.com/pandegroup/openmm/archive/7.2.1.tar.gz
+ sha1sums = ab7f0a136152c04cb7f38d10321d35fa212fdbc0
pkgname = openmm
diff --git a/PKGBUILD b/PKGBUILD
index 820e898acf7..f99c5539d93 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=openmm
-pkgver=7.1.1
+pkgver=7.2.1
pkgrel=1
pkgdesc="Toolkit for molecular simulation using high performance GPU code"
arch=('i686' 'x86_64')
@@ -8,7 +8,7 @@ license=('MIT' 'LGPL')
depends=('fftw')
makedepends=('cmake' 'swig' 'doxygen')
source=("https://github.com/pandegroup/openmm/archive/${pkgver}.tar.gz")
-sha1sums=('c847c6cb654ee9f7dbf16babc1979f4021dc1d69')
+sha1sums=('ab7f0a136152c04cb7f38d10321d35fa212fdbc0')
#prepare() {
# cd "${srcdir}"/openmm-${pkgver}
@@ -23,6 +23,7 @@ build() {
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DOPENMM_GENERATE_API_DOCS=ON \
../openmm-${pkgver}
make
}
@@ -35,9 +36,14 @@ check () {
package() {
cd "${srcdir}"/build
+ msg2 "Installing openmm"
make DESTDIR="${pkgdir}" install
- make DESTDIR="${pkgdir}" PythonInstall
install -d "${pkgdir}"/usr/share/licenses/${pkgname}
+
+ msg2 "Installing openmm python bindings"
+ # Fix to install python wrapper
+ #sed -i 's:setup.py install:setup.py install --root=$DESTDIR:g' wrappers/python/pysetupinstall.cmake
+ make DESTDIR="${pkgdir}" PythonInstall
mv "${pkgdir}"/usr/licenses/*.txt "${pkgdir}"/usr/share/licenses/${pkgname}
rm -rf "${pkgdir}"/usr/{bin,docs,examples,licenses}
}