aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'dist/archlinux/stable/PKGBUILD')
-rw-r--r--dist/archlinux/stable/PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
index 669c855..857a2d4 100644
--- a/dist/archlinux/stable/PKGBUILD
+++ b/dist/archlinux/stable/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=join-python
pkgver=1.1
-pkgrel=1
+pkgrel=2
pkgdesc="Join-calculus for Python"
arch=(any)
url="https://github.com/maandree/join-python"
@@ -16,11 +16,11 @@ sha256sums=('9e463fe40789877e5e9a806f1111c077a29ea01bdc75d8c8913f876ff244b938')
build() {
cd "$srcdir/$pkgname-$pkgver"
- make PREFIX=/usr DESTDIR="$pkgdir" PYVERSION=3.4
+ make PREFIX=/usr DESTDIR="$pkgdir" PYVERSION="$(python -V | cut -d ' ' -f 2 | cut -d . -f 1,2)"
}
package() {
cd "$srcdir/$pkgname-$pkgver"
- make PREFIX=/usr DESTDIR="$pkgdir" PYVERSION=3.4 install
+ make PREFIX=/usr DESTDIR="$pkgdir" PYVERSION="$(python -V | cut -d ' ' -f 2 | cut -d . -f 1,2)" install
}