From 6c459c4c347a05fba5fa422e9e2d197ddaaaa72c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 2 Sep 2014 17:20:45 +0200 Subject: dist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- dist/archlinux/stable/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 dist/archlinux/stable/PKGBUILD (limited to 'dist/archlinux/stable/PKGBUILD') diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD new file mode 100644 index 0000000..17c726d --- /dev/null +++ b/dist/archlinux/stable/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> + +pkgname=pylibgamma +pkgver=1.0 +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') +depends=(python3 'libgamma>=0.3' glibc) +makedepends=(python3 'libgamma>=0.3' glibc make gcc cython coreutils pkg-config) +source=($url/archive/$pkgver.tar.gz) +sha256sums=(201eefe11f7e592bf439590752ffe1a4b376c577ae56f8ff3f58294422379108) + + +build() { + cd "$srcdir/$pkgname-$pkgver" + LDFLAGS=${LDFLAGS/--as-needed/} + LDFLAGS=${LDFLAGS/,,/,} + export LDFLAGS + make PREFIX=/usr +} + + +package() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr install DESTDIR="$pkgdir" +} + -- cgit v1.2.3-70-g09d2