summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHector Martinez-Seara2020-09-17 13:53:08 +0200
committerHector Martinez-Seara2020-09-17 13:53:08 +0200
commit8512997bc347c2e94487c42a8ba7f934e217b359 (patch)
tree377219cae21dba2f93bbca22c2dfa67e0fedb4bd
parentb713832b3c2859972910d2239551e4b11b47f9eb (diff)
downloadaur-8512997bc347c2e94487c42a8ba7f934e217b359.tar.gz
Fix install python wrapper
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ef1de5318ff..1f378ba0691 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = openmm
pkgdesc = Toolkit for molecular simulation using high performance GPU code
pkgver = 7.4.2
- pkgrel = 1
+ pkgrel = 2
url = http://openmm.org/
arch = x86_64
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index ff28b4d53d5..993297501ae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=openmm
pkgver=7.4.2
-pkgrel=1
+pkgrel=2
pkgdesc="Toolkit for molecular simulation using high performance GPU code"
arch=('x86_64')
url="http://openmm.org/"
@@ -40,6 +40,8 @@ package() {
install -d "${pkgdir}"/usr/share/licenses/${pkgname}
msg2 "Installing openmm python bindings"
+ # Fix to install python wrapper
+ sed -i 's:ENV{OPENMM_LIB_PATH} ":ENV{OPENMM_LIB_PATH} "$ENV{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}