diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-02 17:20:45 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-02 17:20:45 +0200 |
commit | 6c459c4c347a05fba5fa422e9e2d197ddaaaa72c (patch) | |
tree | 57b39c0a2a620a31cf6641841236ca479bab333e /dist/archlinux/stable | |
parent | add install and uninstall rules (diff) | |
download | pylibgamma-6c459c4c347a05fba5fa422e9e2d197ddaaaa72c.tar.gz pylibgamma-6c459c4c347a05fba5fa422e9e2d197ddaaaa72c.tar.bz2 pylibgamma-6c459c4c347a05fba5fa422e9e2d197ddaaaa72c.tar.xz |
dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | dist/archlinux/stable/.gitignore | 6 | ||||
-rw-r--r-- | dist/archlinux/stable/PKGBUILD | 29 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore new file mode 100644 index 0000000..79db53b --- /dev/null +++ b/dist/archlinux/stable/.gitignore @@ -0,0 +1,6 @@ +* +!/.git* +*~ +!/PKGBUILD +!/pylibgamma.install + 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" +} + |