updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / pxl / PKGBUILD
blob57e04fa0b11f08a4e5c5613140908129df667d48
1 # Maintainer: Gero Mueller <post@geromueller.de>
2 pkgname=pxl
3 pkgver=3.1.0
4 pkgrel=1
5 arch=('i686' 'x86_64')
6 license=('LGPL')
7 pkgdesc="Physics Extension Library"
8 depends=('python2' 'zlib' 'expat')
9 makedepends=('swig' 'cmake')
10 url="http://forge.physik.rwth-aachen.de/projects/pxl"
11 source=(https://forge.physik.rwth-aachen.de/attachments/download/43/pxl-3.1.0.tar.gz)
12 md5sums=('6a0c51143ca73f11027a922555f44b69')
14 build() {
15   cd $srcdir/${pkgname}-${pkgver}
16   cmake . -DPYTHON_EXECUTABLE=`which python2` -DENABLETESTING=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
17   make
20 package() {
21   cd $srcdir/${pkgname}-${pkgver}
22   make DESTDIR=$pkgdir install