diff options
author | Dilawar Singh | 2017-10-31 18:46:00 +0530 |
---|---|---|
committer | Dilawar Singh | 2017-10-31 18:46:00 +0530 |
commit | e236dbd67af2fc01b540ba5575a3c4fe55b71417 (patch) | |
tree | 317b458c298a9ed6dff985e6737fb66a10105f52 | |
parent | a16177357b1b393fabf6341a2a157dbf8074177c (diff) | |
download | aur-e236dbd67af2fc01b540ba5575a3c4fe55b71417.tar.gz |
First version.
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 12 insertions, 10 deletions
@@ -1,5 +1,6 @@ # Maintainer: Dilawar Singh <dilawar.s.rajput@gmail.com -pkgname=moose +pkgname=moose-git +_pkgname=moose pkgver=3.1.2 pkgrel=1 epoch= @@ -8,36 +9,37 @@ arch=('i686' 'x86_64') url="https://moose.ncbs.res.in" license=('GPL') groups=() -depends=( 'hdf5' 'gsl' 'libsbml', 'python-numpy', 'python-matplotlib', 'python-network') +depends=( 'hdf5' 'gsl' 'python-numpy' 'python-matplotlib' ) makedepends=( 'cmake' 'gsl' 'python-numpy' 'python' 'hdf5' ) checkdepends=() optdepends=() -provides=("$pkgname") -conflicts=("$pkgname") +provides=("$_pkgname") +conflicts=("$_pkgname") replaces=() backup=() options=() install= changelog= -source=("$pkgname::git+https://github.com/BhallaLab/moose.git") +source=("$_pkgname::git+https://github.com/BhallaLab/moose.git#branch=master") md5sums=('SKIP') validpgpkeys=() prepare() { - cd "$srcdir/$pkgname" - cmake -DCMAKE_INSTALL_PREFIX=/usr . + cd "$srcdir/$_pkgname" + cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_GUI=OFF . } build() { - cd "$srcdir/$pkgname" + cd "$srcdir/$_pkgname" make } check() { - echo "Nothing to do here" + cd "$srcdir/$_pkgname" + ctest --output-on-failure } package() { - cd "$srcdir/$pkgname" + cd "$srcdir/$_pkgname" make DESTDIR="$pkgdir/" install } |