Created
June 19, 2018 16:54
-
-
Save simonpintarelli/3da4963bc158def771bb708b711fd0ee to your computer and use it in GitHub Desktop.
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
# Maintainer: Dan Maftei <dan.maftei@chem.uaic.ro> | |
pkgname='python-pyscf' | |
pkgver=1.5.0 | |
pkgrel=1 | |
pkgdesc="Python module for quantum chemistry" | |
provides=('python-pyscf') | |
arch=('x86_64') | |
url="https://github.com/sunqm/pyscf" | |
source=("https://github.com/sunqm/pyscf/archive/v${pkgver}.tar.gz") | |
md5sums=('fc60ad711603a642aff2067d3740beb4') | |
sha256sums=('1b68a57b48c9c6b81e35cb346c04cc5b988109e104f10391e975f01e4ddbe81f') | |
license=('BSD') | |
depends=('python' 'python-numpy' 'python-scipy' 'python-h5py') | |
makedepends=('cmake') | |
build() { | |
cd ${srcdir}/pyscf-${pkgver}/pyscf/lib | |
mkdir build && cd build && cmake .. && make ${MAKEFLAGS} | |
} | |
package() { | |
cd ${srcdir}/pyscf-${pkgver} | |
python setup.py install --root="$pkgdir" --optimize=1 | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment