From 0f9ca3095525e646fd4ee78c09728c9979638618 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 17 Jul 2024 20:37:06 +0200 Subject: Add libgamma MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libgamma/PKGBUILD | 26 ++++++++++++++++++++++++++ libgamma/upload | 1 + 2 files changed, 27 insertions(+) create mode 100644 libgamma/PKGBUILD create mode 120000 libgamma/upload (limited to 'libgamma') diff --git a/libgamma/PKGBUILD b/libgamma/PKGBUILD new file mode 100644 index 0000000..210b12c --- /dev/null +++ b/libgamma/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se> + +pkgname=libgamma +pkgver=0.7.4 +pkgrel=1 +pkgdesc="Display server abstraction layer for gamma ramps" +arch=(i686 x86_64) +url="https://codeberg.org/maandree/libgamma" +license=('custom:ISC') +depends=(libxcb libx11 libxxf86vm libdrm) +makedepends=(libxcb libx11 libxxf86vm libdrm pkg-config) +source=(libgamma-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) +sha256sums=(6c15eab2c2d4651cd590d85df3dcbd9657c634c78a7c80aad5f9a9d2561e963a) + + +build() { + cd "$srcdir/libgamma" + make PREFIX=/usr +} + + +package() { + cd "$srcdir/libgamma" + make PREFIX=/usr DESTDIR="$pkgdir" install +} + diff --git a/libgamma/upload b/libgamma/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/libgamma/upload @@ -0,0 +1 @@ +../upload \ No newline at end of file -- cgit v1.2.3-70-g09d2