diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-04 03:35:53 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-04 03:35:53 +0200 |
commit | 541d81ffe3260e3823b223d3f3c7b665b308e549 (patch) | |
tree | 312c6341f39f08bcdba5264265f44645093f179d /dist/archlinux/stable/PKGBUILD | |
parent | add pkg-config file (diff) | |
download | libgammamm-541d81ffe3260e3823b223d3f3c7b665b308e549.tar.gz libgammamm-541d81ffe3260e3823b223d3f3c7b665b308e549.tar.bz2 libgammamm-541d81ffe3260e3823b223d3f3c7b665b308e549.tar.xz |
dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'dist/archlinux/stable/PKGBUILD')
-rw-r--r-- | dist/archlinux/stable/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD new file mode 100644 index 0000000..177e129 --- /dev/null +++ b/dist/archlinux/stable/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> + +pkgname=libgammamm +pkgver=1.0 +pkgrel=1 +pkgdesc="Display server abstraction layer for gamma ramps and C++" +arch=(i686 x86_64) +url="https://github.com/maandree/libgammamm" +license=('GPL3') +depends=('libgamma>=0.3' glibc gcc-libs) +makedepends=('libgamma>=0.3' glibc gcc-libs gcc make coreutils) +source=($url/archive/$pkgver.tar.gz) +sha256sums=(372c1455c26979a1895584c9a41073267004df9740543b81e495719f21cb40e6) + + +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" +} + |