aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-02 13:17:12 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-02 13:17:12 +0200
commit62c95abb99e11aa703c2839ce02d11b0d5ece220 (patch)
tree4708feb8dbda2ff5574564a54b6f3ea9be5eec00 /dist
parentupdate makefile for python 3.5 (diff)
downloadpylibgamma-62c95abb99e11aa703c2839ce02d11b0d5ece220.tar.gz
pylibgamma-62c95abb99e11aa703c2839ce02d11b0d5ece220.tar.bz2
pylibgamma-62c95abb99e11aa703c2839ce02d11b0d5ece220.tar.xz
update dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--dist/archlinux/stable/PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
index 61b3ad9..1e8be82 100644
--- a/dist/archlinux/stable/PKGBUILD
+++ b/dist/archlinux/stable/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
pkgname=pylibgamma
-pkgver=1.1.1
+pkgver=1.1.1.1
pkgrel=1
pkgdesc="Display server abstraction layer for gamma ramps and Python 3"
arch=(i686 x86_64)
@@ -10,17 +10,17 @@ license=('GPL3')
depends=(python3 'libgamma>=0.6' glibc)
makedepends=(python3 'libgamma>=0.6' glibc make gcc cython coreutils pkg-config)
source=($url/archive/$pkgver.tar.gz)
-sha256sums=(a9b89ebd1a8496da5d0bee10c2c0bc6408ac76fc448e7fab299c7e83b1a1146a)
+sha256sums=(af4454704c2474b048aeb89778c848e3fa6e6b3a989b2246f4e327fc96a9f418)
build() {
cd "$srcdir/$pkgname-$pkgver"
- make PREFIX=/usr
+ make PREFIX=/usr PY_MAJOR="$(python -V | cut -d ' ' -f 2 | cut -d . -f 1)" PY_MINOR="$(python -V | cut -d ' ' -f 2 | cut -d . -f 2)"
}
package() {
cd "$srcdir/$pkgname-$pkgver"
- make PREFIX=/usr install DESTDIR="$pkgdir"
+ make PREFIX=/usr PY_MAJOR="$(python -V | cut -d ' ' -f 2 | cut -d . -f 1)" PY_MINOR="$(python -V | cut -d ' ' -f 2 | cut -d . -f 2)" install DESTDIR="$pkgdir"
}