blob: 80af8a14ba9f05ace803daed835518a3e33fdfc4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Jia Li <lijia1608@gmail.com>
pkgname=libcint-cint3
_pkgname=libcint
pkgver=3.0.18
pkgrel=1
pkgdesc="General GTO integrals for quantum chemistry (cint3 branch)"
arch=(i686 x86_64)
url="http://wiki.sunqm.net/libcint"
license=('BSD')
provides=(libcint)
conflicts=(libcint)
depends=('blas')
makedepends=('cmake')
provides=($pkgname=$pkgver)
conflicts=(libcint)
source=(https://github.com/sunqm/libcint/archive/v$pkgver.tar.gz)
sha256sums=('c5ecc295f912fd9b80f41c353286172e710ed52ce825d1255d25a0388b6c8ffe')
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="lib" \
-DCMAKE_INSTALL_PREFIX:PATH="/usr" ..
make
}
package() {
cd "$_pkgname-$pkgver/build"
make DESTDIR="$pkgdir/" install
}
|