updated on Tue Jan 17 16:10:12 UTC 2012
[aur-mirror.git] / silo / PKGBUILD
blob95adc0fe78919afb0269238c8bdc2487d897cf41
1 # Contributor: Jed Brown <jed@59A2.org>
2 pkgname=(silo)
3 _prefix=/usr
4 pkgver=4.8
5 pkgrel=1
6 pkgdesc="A mesh and field I/O library and scientific database"
7 url="http://silo.llnl.gov"
8 arch=('i686' 'x86_64')
9 license=('custom')
10 depends=(bash hdf5 qt)
11 makedepends=()
12 conflicts=()
13 replaces=()
14 backup=()
15 source=(https://wci.llnl.gov/codes/silo/silo-$pkgver/silo-$pkgver.tar.gz)
17 build() {
18   cd $srcdir/$pkgname-$pkgver || exit 1
20   ./configure --prefix=${_prefix} --enable-shared --with-hdf5=/usr/include,/usr/lib --with-qt=/usr || exit 1
21   make || exit 1
22   make DESTDIR=${pkgdir} install || exit 1
23   install -m644 -D COPYRIGHT ${pkgdir}${_prefix}/share/licenses/$pkgname/LICENSE
26 md5sums=('b1cbc0e7ec435eb656dc4b53a23663c9')