aboutsummaryrefslogtreecommitdiffstats
path: root/pylibgamma/PKGBUILD
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-07-21 18:14:02 +0200
committerMattias Andrée <maandree@kth.se>2022-07-21 18:14:02 +0200
commit746a0b8bedb47ae8a095a204e84f4d9ecbda4bed (patch)
treec2328d30f978b7a34a069bc8e1f2ee3ef00a3462 /pylibgamma/PKGBUILD
parentAdd jlibgamma (diff)
downloadaur-packages-746a0b8bedb47ae8a095a204e84f4d9ecbda4bed.tar.gz
aur-packages-746a0b8bedb47ae8a095a204e84f4d9ecbda4bed.tar.bz2
aur-packages-746a0b8bedb47ae8a095a204e84f4d9ecbda4bed.tar.xz
Update packages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--pylibgamma/PKGBUILD17
1 files changed, 8 insertions, 9 deletions
diff --git a/pylibgamma/PKGBUILD b/pylibgamma/PKGBUILD
index 268d18e..6444843 100644
--- a/pylibgamma/PKGBUILD
+++ b/pylibgamma/PKGBUILD
@@ -1,26 +1,25 @@
-# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
pkgname=pylibgamma
-pkgver=1.1.2
+pkgver=1.1.3
pkgrel=1
pkgdesc="Display server abstraction layer for gamma ramps and Python 3"
arch=(i686 x86_64)
-url="https://github.com/maandree/pylibgamma"
-license=('GPL3')
+url="https://codeberg.org/maandree/pylibgamma"
+license=('custom:ISC')
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=(e40f1291712e799d28eb4b4c5df9fe6b07ce5f0bf39bcd7f9416fb9d3335fb9a)
+source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
+sha256sums=(09b4225384e5d8d0d55323b97d57ec435326275f935e41097eddbc9953c4bb33)
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname"
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"
+ cd "$srcdir/$pkgname"
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"
}
-