summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authormschubert2019-05-25 15:52:21 +0200
committermschubert2019-05-25 15:52:21 +0200
commitb79fb4651efd0ac7e431698e54a70562ef9c6032 (patch)
tree7dee053d8014424dcef02015894e8911c3a81381 /PKGBUILD
parent4d31e1708c463ba5c11669a0f76111aa02a98bd4 (diff)
downloadaur-libnuml.tar.gz
minor adjustments
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 100af68271a..790ad4921dc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,16 +8,18 @@ url="https://github.com/NuML/NuML"
license=('LGPL')
arch=('i686' 'x86_64')
depends=('libsbml')
-source=("https://github.com/NuML/NuML/archive/v$pkgver.tar.gz")
+source=($_pkgname-$pkgver.tar.gz::https://github.com/NuML/NuML/archive/v$pkgver.tar.gz)
md5sums=('dfdc6d008afd032d395e40788e9553dc')
build() {
cd "$srcdir/$_pkgname-$pkgver"
- cmake $pkgname
+ cmake \
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ $pkgname
make
}
package() {
- cd "$srcdir"/build
- DESTDIR="$pkgdir" cmake -DCMAKE_INSTALL_PREFIX=/usr -P cmake_install.cmake
+ cd "$srcdir"/$_pkgname-$pkgver
+ DESTDIR="$pkgdir" cmake -P cmake_install.cmake
}