blob: 9210eeb54ad8886364f049ec8a62862ab86576e9 (
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=alpscore
pkgver=0.5.4
pkgrel=1
pkgdesc="ALPS Core libraries for numerical simulations of condensed matter systems based on ALPS."
arch=(i686 x86_64)
url="http://alpscore.org"
license=('GPL')
depends=('cmake>=2.8.12' 'boost>=1.54.0' 'hdf5>=1.8')
optdepends=('openmpi: for MPI support')
provides=($pkgname=$pkgver)
conflicts=(alpscore-git alps)
source=("https://github.com/ALPSCore/ALPSCore/archive/v$pkgver.tar.gz")
md5sums=('b887c9328e2a22afa123663cf888b768')
build() {
cd "ALPSCore-$pkgver"
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DDocumentation=OFF ..
make
}
check() {
cd "ALPSCore-$pkgver/build"
make test
}
package() {
cd "ALPSCore-$pkgver/build"
make DESTDIR="$pkgdir/" install
}
|