diff options
author | Andrew Sun | 2018-10-31 20:04:43 -0400 |
---|---|---|
committer | Andrew Sun | 2018-10-31 20:04:43 -0400 |
commit | e16c8ceb4573652423f78d0f3268b4b0dde76787 (patch) | |
tree | f235c2dfb3823c72fa458d8ed851be92b56c75f7 | |
parent | 3540587b93d17a141000b6fd4c87bacf98bd2285 (diff) | |
download | aur-e16c8ceb4573652423f78d0f3268b4b0dde76787.tar.gz |
nest: update to 2.16.0
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 20 insertions, 23 deletions
@@ -1,6 +1,6 @@ pkgbase = nest pkgdesc = Simulator for spiking neural network models - pkgver = 2.14.0 + pkgver = 2.16.0 pkgrel = 1 url = http://www.nest-simulator.org/ arch = x86_64 @@ -14,8 +14,8 @@ pkgbase = nest optdepends = python-numpy optdepends = python-scipy optdepends = python-matplotlib - source = nest-2.14.0.tar.gz::https://github.com/nest/nest-simulator/archive/v2.14.0.tar.gz - md5sums = a214b61da740c9252f3dfea5ed804441 + source = nest-2.16.0.tar.gz::https://github.com/nest/nest-simulator/archive/v2.16.0.tar.gz + sha256sums = abfeb61719dec54da9477be035bef1d9d764f4e7663f63f6a6d9211f967e0490 pkgname = nest @@ -1,7 +1,8 @@ +# Maintainer: Andrew Sun <adsun701@gmail.com> # Contributor: Paulo Castro <p.oliveira.castro@gmail.com> pkgname=nest -pkgver=2.14.0 +pkgver=2.16.0 pkgrel=1 pkgdesc="Simulator for spiking neural network models" arch=('x86_64') @@ -10,32 +11,28 @@ license=('GPL') depends=('gsl' 'libtool' 'python') makedepends=('cmake' 'cython') optdepends=('ipython' 'python-numpy' 'python-scipy' 'python-matplotlib') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/nest/nest-simulator/archive/v${pkgver}.tar.gz) -md5sums=('a214b61da740c9252f3dfea5ed804441') - - -prepare() { - mkdir -p build -} +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/nest/nest-simulator/archive/v${pkgver}.tar.gz") +sha256sums=('abfeb61719dec54da9477be035bef1d9d764f4e7663f63f6a6d9211f967e0490') build() { - cd build - cmake ../$pkgname-simulator-$pkgver \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -Dwith-gsl=ON \ - -Dwith-readline=ON \ - -Dwith-ltdl=ON \ - -Dwith-python=3 - make + mkdir -p "${srcdir}/build" && cd "${srcdir}/build" + cmake "${srcdir}/${pkgname}-simulator-${pkgver}" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -Dwith-gsl=ON \ + -Dwith-readline=ON \ + -Dwith-ltdl=ON \ + -Dwith-python=3 + make } # Tests fail if no nest can be found in /usr/bin/ #check() { -# cd build -# make -k check +# cd "${srcdir}/build" +# make -k check #} package() { - cd build - make DESTDIR="$pkgdir/" install + cd "${srcdir}/build" + make DESTDIR="${pkgdir}" install } |