aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-02 07:37:20 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-02 07:37:20 +0200
commit22a81873db5fb70e17aebe858c46395c40ebf445 (patch)
treedb53058212817707c9ba57949fda0a01d8eb014c
parenttypo (diff)
downloadlibgamma-22a81873db5fb70e17aebe858c46395c40ebf445.tar.gz
libgamma-22a81873db5fb70e17aebe858c46395c40ebf445.tar.bz2
libgamma-22a81873db5fb70e17aebe858c46395c40ebf445.tar.xz
fix dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--dist/archlinux/stable/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
index cc6bced..bc12549 100644
--- a/dist/archlinux/stable/PKGBUILD
+++ b/dist/archlinux/stable/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=libgamma
pkgver=0.2
-pkgrel=1
+pkgrel=2
pkgdesc="Display server abstraction layer for gamma ramps"
arch=(i686 x86_64)
url="https://github.com/maandree/libgamma"
@@ -17,6 +17,9 @@ sha256sums=(ef171360e4a945b607ef3fa1830630088bad162e47ea83ff990cae83c5331529)
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --linux
+ LDFLAGS=${LDFLAGS/--as-needed/}
+ LDFLAGS=${LDFLAGS/,,/,}
+ export LDFLAGS
make PREFIX=/usr lib info
}