Created
June 5, 2017 18:18
-
-
Save arcan1s/2b6e2bdd7eb1e090885d61bffe61d528 to your computer and use it in GitHub Desktop.
psi4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=psi4-git | |
_gitname=psi4 | |
pkgver=master | |
pkgrel=1 | |
pkgdesc="Open-source quantum chemistry" | |
arch=("i686" "x86_64") | |
url="http://psicode.org" | |
license=("GPL3") | |
depends=(blas lapack python2 boost python2-numpy) | |
makedepends=(gcc cmake) | |
source=("${_gitname}::git+https://github.com/psi4/psi4") | |
md5sums=("SKIP") | |
pkgver() { | |
cd "${_gitname}" | |
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | |
} | |
build() { | |
cmake psi4 -Bbuild -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr/" | |
cd "build" | |
make | |
} | |
package() { | |
cd "${srcdir}/build" | |
make install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment