diff options
Diffstat (limited to '')
-rw-r--r-- | dist/archlinux/stable/PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD index 45cb1c4..7713d87 100644 --- a/dist/archlinux/stable/PKGBUILD +++ b/dist/archlinux/stable/PKGBUILD @@ -2,7 +2,7 @@ pkgname=argparser pkgver=5.1 -pkgrel=2 +pkgrel=3 pkgdesc="Command line argument parser library, like getopt, except better." arch=('any') url="https://github.com/maandree/argparser" @@ -14,11 +14,11 @@ sha256sums=('10cbff3d7c17d5c8e99dab20e5b425e1da7625dd4090d6c904c944b8bb64195f') build() { cd "${srcdir}/argparser-${pkgver}" - make DESTDIR="$pkgdir" PY3VERSION=3.4 + make DESTDIR="$pkgdir" PY3VERSION="$(python -V | cut -d ' ' -f 2 | cut -d . -f 1,2)" } package() { cd "${srcdir}/argparser-${pkgver}" - make DESTDIR="$pkgdir" PY3VERSION=3.4 install + make DESTDIR="$pkgdir" PY3VERSION="$(python -V | cut -d ' ' -f 2 | cut -d . -f 1,2)" install } |