summaryrefslogtreecommitdiff
path: root/extra/habak/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-05 23:14:38 +0000
committerroot <root@rshg054.dnsready.net>2011-09-05 23:14:38 +0000
commite05f52e52ba779f4b0ebb5463dba9fc74f67f0b8 (patch)
tree426be7e1703e9b4aaec588af1dcec4ae24fe161e /extra/habak/PKGBUILD
parentf651180e6b1ac9508ec0d1d9b94972de776020a9 (diff)
Mon Sep 5 23:14:38 UTC 2011
Diffstat (limited to 'extra/habak/PKGBUILD')
-rw-r--r--extra/habak/PKGBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/extra/habak/PKGBUILD b/extra/habak/PKGBUILD
index 5ef6cde6f..69899b64e 100644
--- a/extra/habak/PKGBUILD
+++ b/extra/habak/PKGBUILD
@@ -1,19 +1,26 @@
-# $Id: PKGBUILD 4097 2008-07-03 14:48:26Z ronald $
+# $Id: PKGBUILD 136978 2011-09-04 12:05:11Z pierre $
# Maintainer: Ronald van Haren <ronald@archlinux.org>
# Contributor: Simo Leone <simo@archlinux.org>
+
pkgname=habak
pkgver=0.2.5
-pkgrel=3
+pkgrel=4
pkgdesc="A background changing app"
url="http://fvwm-crystal.org"
license=('GPL2')
depends=('imlib2')
-source=(http://download.gna.org/fvwm-crystal/habak/$pkgver/$pkgname-$pkgver.tar.gz)
+source=("http://download.gna.org/fvwm-crystal/habak/$pkgver/$pkgname-$pkgver.tar.gz")
arch=('i686' 'x86_64')
+options=('!makeflags')
md5sums=('bee5c394989367f7a4c5cb9ec99d307c')
build() {
cd $srcdir/$pkgname-$pkgver
- make || return 1
- install -m755 -D habak $pkgdir/usr/bin/habak || return 1
+ export LDFLAGS=${LDFLAGS/,--sort-common,--as-needed//}
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ install -m755 -D habak $pkgdir/usr/bin/habak
}