diff options
author | Jia Li | 2017-12-18 16:52:43 -0500 |
---|---|---|
committer | Jia Li | 2017-12-18 16:52:43 -0500 |
commit | ef0703d1912afecc20bd9750ff57e9d8cf5c6e3a (patch) | |
tree | d9eef8ef0fdb72c41647b6cc6d8edcebfb3c7081 | |
download | aur-ef0703d1912afecc20bd9750ff57e9d8cf5c6e3a.tar.gz |
Init version 3.0.3
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bcc5a1483b47 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = libcint + pkgdesc = General GTO integrals for quantum chemistry + pkgver = 3.0.3 + pkgrel = 1 + url = http://wiki.sunqm.net/libcint + arch = i686 + arch = x86_64 + license = BSD + makedepends = cmake + depends = blas + provides = libcint=3.0.3 + source = https://github.com/sunqm/libcint/archive/v3.0.3.tar.gz + md5sums = 36398620229eb035bee17aa1a5cb5efd + +pkgname = libcint + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c8a0b2cee0e5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Jia Li <lijia1608@gmail.com> +pkgname=libcint +pkgver=3.0.3 +pkgrel=1 +pkgdesc="General GTO integrals for quantum chemistry" +arch=(i686 x86_64) +url="http://wiki.sunqm.net/libcint" +license=('BSD') +depends=('blas') +makedepends=('cmake') +provides=($pkgname=$pkgver) +source=("https://github.com/sunqm/libcint/archive/v$pkgver.tar.gz") +md5sums=('36398620229eb035bee17aa1a5cb5efd') + +build() { + cd "$pkgname-$pkgver" + mkdir -p build + cd build + cmake -DWITH_F12=ON -DWITH_RANGE_COULOMB=1 -DWITH_COULOMB_ERF=1 \ + -DCMAKE_INSTALL_LIBDIR:PATH="/usr/lib" \ + -DCMAKE_INSTALL_PREFIX:PATH="/usr" .. + make +} + +package() { + cd "$pkgname-$pkgver/build" + make DESTDIR="$pkgdir/" install +} |