pkgname=agrum pkgver=0.12.0 pkgrel=1 pkgdesc="C++ Bayesian networks library" license=('GPL') arch=('i686' 'x86_64') url="http://agrum.gitlab.io/" depends=('python-pydotplus' 'python-matplotlib' 'ipython') makedepends=('cmake' 'cococpp' 'swig' 'python') source=("https://gitlab.com/agrumery/aGrUM/-/archive/${pkgver}/aGrUM-${pkgver}.tar.bz2") sha256sums=('feefbd06285f2bc6dc9968c1e6e9f40036049310f2649804ec34b64b022e118f') build() { cd "$srcdir/$pkgname-$pkgver" mkdir -p build && pushd build cmake -DCMAKE_INSTALL_PREFIX=/usr .. make } package() { cd "$srcdir/$pkgname-$pkgver/build" make DESTDIR="$pkgdir" install }