diff options
author | Hans-Nikolai Viessmann | 2022-10-12 18:27:23 +0200 |
---|---|---|
committer | Hans-Nikolai Viessmann | 2022-10-12 18:27:23 +0200 |
commit | ae083728b99f2c862cbb2728cd081ee4fddf2523 (patch) | |
tree | c77f7869387deba1de284884138cab7959ac46a1 | |
parent | 06048e540f53c8f890787a12b3a5030c3b9bdcd4 (diff) | |
download | aur-ae083728b99f2c862cbb2728cd081ee4fddf2523.tar.gz |
revert to using repo.or.cz sources
SF project location seems to have been deleted...
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 21 insertions, 11 deletions
@@ -1,14 +1,15 @@ pkgbase = barvinok pkgdesc = A library for counting the number of integer points in (non-)parametric polytopes pkgver = 0.41.6 - pkgrel = 1 - url = https://barvinok.sourceforge.io/ + pkgrel = 2 + url = https://repo.or.cz/barvinok.git arch = x86_64 license = GPL + makedepends = git depends = ntl depends = libisl>0.19 depends = polylib-gmp - source = https://barvinok.sourceforge.io/barvinok-0.41.6.tar.xz - sha256sums = 1e647f847af44fced0eb554b82452f2ff7a9ab2bcb618eee3a49e44eb4f8b2dd + source = git+https://repo.or.cz/barvinok.git#tag=barvinok-0.41.6 + sha256sums = SKIP pkgname = barvinok @@ -1,17 +1,26 @@ # Maintainer: Hans-Nikolai Viessmann <hans AT viess.mn> pkgname=barvinok pkgver=0.41.6 -pkgrel=1 +pkgrel=2 pkgdesc='A library for counting the number of integer points in (non-)parametric polytopes' arch=('x86_64') -url='https://barvinok.sourceforge.io/' +url='https://repo.or.cz/barvinok.git' license=('GPL') depends=('ntl' 'libisl>0.19' 'polylib-gmp') -source=("https://barvinok.sourceforge.io/$pkgname-$pkgver.tar.xz") -sha256sums=('1e647f847af44fced0eb554b82452f2ff7a9ab2bcb618eee3a49e44eb4f8b2dd') +makedepends=('git') +source=("git+https://repo.or.cz/barvinok.git#tag=$pkgname-$pkgver") +sha256sums=('SKIP') + +prepare () { + cd "$srcdir/$pkgname" + + # setup the repo + ./get_submodules.sh + ./autogen.sh +} build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$pkgname" # NTL 11 now uses pthread functions, so we need to have it link to libpthread. ./configure --prefix=/usr --enable-shared-barvinok --with-isl=system --with-polylib=system LIBS="-lpthread" @@ -19,11 +28,11 @@ build() { } check() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$pkgname" make check } package() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$pkgname" make DESTDIR="$pkgdir" install } |