summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD10
2 files changed, 7 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9015c80c0fa..0751eda2dfa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,3 @@
-# Generated by mksrcinfo v8
-# Thu Oct 12 11:52:44 UTC 2017
pkgbase = libnuml
pkgdesc = Numerical Markup Language (NuML) for exchange and archiving of numerical results
pkgver = 1.1.1
@@ -9,7 +7,7 @@ pkgbase = libnuml
arch = x86_64
license = LGPL
depends = libsbml
- source = https://github.com/NuML/NuML/archive/v1.1.1.tar.gz
+ source = NuML-1.1.1.tar.gz::https://github.com/NuML/NuML/archive/v1.1.1.tar.gz
md5sums = dfdc6d008afd032d395e40788e9553dc
pkgname = libnuml
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
}