aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-02 12:41:43 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-02 12:41:54 +0200
commit14a65b429469c469309a3f114e6854036f533759 (patch)
tree76123de3c44ef4c34c486dcf15a9d806b94f60bd /dist/archlinux/stable/PKGBUILD
parentupdate dist (diff)
downloadjoin-python-14a65b429469c469309a3f114e6854036f533759.tar.gz
join-python-14a65b429469c469309a3f114e6854036f533759.tar.bz2
join-python-14a65b429469c469309a3f114e6854036f533759.tar.xz
update dist for python 3.5
Signed-off-by: Mattias Andrée <maandree@operamail.com>
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
}