summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMichel Zou2016-10-11 21:43:15 +0200
committerMichel Zou2016-10-11 21:43:15 +0200
commitcc7c62962bd56a960d3bf797a491e4b904f23f8f (patch)
treef16fc1e347aaacb83f00b14867665557888e51d7 /PKGBUILD
parentbce9909a0f16322baa5fa13997ad910a74704e00 (diff)
downloadaur-cc7c62962bd56a960d3bf797a491e4b904f23f8f.tar.gz
0.9.3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 2 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2d0fdee6047..00173b12dd9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=agrum
-pkgver=0.9.2
+pkgver=0.9.3
pkgrel=1
pkgdesc="C++ Bayesian networks library"
license=('GPL')
@@ -13,25 +13,15 @@ md5sums=('SKIP')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
- sed -i "49i#include <cmath>" src/agrum/core/math/chi2.cpp
- sed -i "36,40d" wrappers/pyAgrum/CMakeLists.txt
}
build() {
cd "$srcdir/$pkgname-$pkgver"
mkdir -p build && pushd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr ../src
- make
- popd
- mkdir -p build_py && pushd build_py
- cmake -DCMAKE_INSTALL_PREFIX=/usr ../wrappers/pyAgrum
- make
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
}
package() {
cd "$srcdir/$pkgname-$pkgver/build"
make DESTDIR="$pkgdir" install
- cd "$srcdir/$pkgname-$pkgver/build_py"
- make DESTDIR="$pkgdir" install
}
-