Skip to content

Instantly share code, notes, and snippets.

@arcan1s

arcan1s/PKGBUILD

Created Jun 5, 2017
Embed
What would you like to do?
psi4
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
You can’t perform that action at this time.