From 746a0b8bedb47ae8a095a204e84f4d9ecbda4bed Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 21 Jul 2022 18:14:02 +0200 Subject: Update packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libgammamm/PKGBUILD | 26 ++++++++++++++++++++++++++ libgammamm/upload | 1 + pylibgamma/PKGBUILD | 17 ++++++++--------- 3 files changed, 35 insertions(+), 9 deletions(-) create mode 100644 libgammamm/PKGBUILD create mode 120000 libgammamm/upload diff --git a/libgammamm/PKGBUILD b/libgammamm/PKGBUILD new file mode 100644 index 0000000..1bbe978 --- /dev/null +++ b/libgammamm/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se> + +pkgname=libgammamm +pkgver=1.0.2 +pkgrel=1 +pkgdesc="Display server abstraction layer for gamma ramps and C++" +arch=(i686 x86_64) +url="https://codeberg.org/maandree/libgammamm" +license=('custom:ISC') +depends=('libgamma>=0.3' glibc gcc-libs) +makedepends=('libgamma>=0.3' glibc gcc-libs gcc make coreutils) +source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) +sha256sums=(999f7ec89769a6e2b6894b2dee7e2160c97dd473820bce5b2bf8a68a6f4eda1f) + + +build() { + cd "$srcdir/$pkgname" + make PREFIX=/usr +} + + +package() { + cd "$srcdir/$pkgname" + make PREFIX=/usr install DESTDIR="$pkgdir" +} + diff --git a/libgammamm/upload b/libgammamm/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/libgammamm/upload @@ -0,0 +1 @@ +../upload \ No newline at end of file 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" } - -- cgit v1.2.3-70-g09d2