summaryrefslogtreecommitdiff
path: root/extra/habak/PKGBUILD
blob: 69899b64ede50f2b3b9a6df5379f78f76fe2f3ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $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=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")
arch=('i686' 'x86_64')
options=('!makeflags')
md5sums=('bee5c394989367f7a4c5cb9ec99d307c')

build() {
  cd $srcdir/$pkgname-$pkgver
  export LDFLAGS=${LDFLAGS/,--sort-common,--as-needed//}
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  install -m755 -D habak $pkgdir/usr/bin/habak
}