summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2016-10-11 21:43:15 +0200
committerMichel Zou2016-10-11 21:43:15 +0200
commitcc7c62962bd56a960d3bf797a491e4b904f23f8f (patch)
treef16fc1e347aaacb83f00b14867665557888e51d7
parentbce9909a0f16322baa5fa13997ad910a74704e00 (diff)
downloadaur-cc7c62962bd56a960d3bf797a491e4b904f23f8f.tar.gz
0.9.3
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD14
2 files changed, 5 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7ca63f9e0d0..f52686bea05 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sun Sep 25 18:12:36 UTC 2016
+# Tue Oct 11 19:43:15 UTC 2016
pkgbase = agrum
pkgdesc = C++ Bayesian networks library
- pkgver = 0.9.2
+ pkgver = 0.9.3
pkgrel = 1
url = https://forge.lip6.fr/projects/aGrUM/wiki
arch = i686
@@ -14,7 +14,7 @@ pkgbase = agrum
makedepends = python
depends = gcc-libs
optdepends = python: python bindings
- source = agrum-0.9.2::git+git://forge.lip6.fr/aGrUM#tag=0.9.2
+ source = agrum-0.9.3::git+git://forge.lip6.fr/aGrUM#tag=0.9.3
md5sums = SKIP
pkgname = agrum
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
}
-