summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2018-04-20 22:38:17 +0200
committerMichel Zou2018-04-20 22:38:17 +0200
commit20d998bee3e7c606d1e2748086c0d0d871c7911e (patch)
tree71854a0cbdff454eece3a4b11c84acfeb87b4123
parent77a69728baf22fc1a47549fc83b28ef2775c37a7 (diff)
downloadaur-20d998bee3e7c606d1e2748086c0d0d871c7911e.tar.gz
fix dl
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
2 files changed, 5 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index afb80dcfcdd..810cbd39f43 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 bf873001f18..a08034da6e1 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"