summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
2 files changed, 5 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index afb80dcfcdd4..810cbd39f433 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Tue Jun 27 17:14:24 UTC 2017
+# Fri Apr 20 20:38:17 UTC 2018
pkgbase = agrum
pkgdesc = C++ Bayesian networks library
pkgver = 0.12.0
@@ -15,8 +15,8 @@ pkgbase = agrum
depends = python-pydotplus
depends = python-matplotlib
depends = ipython
- source = https://gitlab.com/agrumery/aGrUM/repository/archive.tar.bz2?ref=0.12.0
- sha256sums = fd67a0b51ad5f96bbbfd3556c63cc2c1f6054104686cbcd327c51f21b4c3c6e2
+ source = https://gitlab.com/agrumery/aGrUM/-/archive/0.12.0/aGrUM-0.12.0.tar.bz2
+ sha256sums = feefbd06285f2bc6dc9968c1e6e9f40036049310f2649804ec34b64b022e118f
pkgname = agrum
diff --git a/PKGBUILD b/PKGBUILD
index bf873001f187..a08034da6e11 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,13 +7,8 @@ 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/repository/archive.tar.bz2?ref=${pkgver}")
-sha256sums=('fd67a0b51ad5f96bbbfd3556c63cc2c1f6054104686cbcd327c51f21b4c3c6e2')
-
-prepare() {
- # remove sha suffix
- mv aGrUM-${pkgver}-* $pkgname-$pkgver
-}
+source=("https://gitlab.com/agrumery/aGrUM/-/archive/${pkgver}/aGrUM-${pkgver}.tar.bz2")
+sha256sums=('feefbd06285f2bc6dc9968c1e6e9f40036049310f2649804ec34b64b022e118f')
build() {
cd "$srcdir/$pkgname-$pkgver"