summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDavid Adler2019-09-14 10:09:22 +0200
committerDavid Adler2019-09-14 10:20:04 +0200
commit5a102d06663a59a3908162cabd70ce974991f559 (patch)
tree755b1ce964968d292c6d82ff99c8aa7fcb8bbec7 /PKGBUILD
parentbedf09c8d426b6b37266c2c1230b24616a108330 (diff)
downloadaur-5a102d06663a59a3908162cabd70ce974991f559.tar.gz
New upstream url, swig version fix
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index df18dac6d2db..7362447de99b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,17 +2,17 @@
_pkgname=gnucap-python
pkgname=$_pkgname-git
-pkgver=r113.a04f8b3
+pkgver=r248.45a4914
pkgrel=1
-pkgdesc="Python bindings for Gnucap"
+pkgdesc='Python bindings for Gnucap'
arch=('x86_64')
-url="https://gitlab.com/gnucap/gnucap-python/blob/master/README"
+url='https://codeberg.org/gnucap/gnucap-python/src/branch/develop/README'
license=('GPL')
-depends=('gnucap' 'python' 'swig')
+depends=('gnucap' 'python-scipy' 'swig3')
makedepends=('git')
provides=('gnucap-python')
conflicts=('gnucap-python')
-source=("git+https://gitlab.com/gnucap/$_pkgname.git")
+source=("git+https://codeberg.org/gnucap/$_pkgname.git")
md5sums=('SKIP')
pkgver() {
@@ -23,7 +23,10 @@ pkgver() {
build() {
cd $_pkgname
./bootstrap
- ./configure --prefix=/usr CPPFLAGS=-I/usr/lib/python3.7/site-packages/numpy/core/include/ PYTHON=python3
+ ./configure --prefix=/usr \
+ CPPFLAGS=-I/usr/lib/python3.7/site-packages/numpy/core/include/ \
+ PYTHON=python3 \
+ SWIG=/usr/bin/swig-3
make
}