updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / actkbd / PKGBUILD
blob69ea1b1d7517dd70b74647a766652e535cbe207e
1 # Maintainer: Arkham <arkham at archlinux dot us>
2 # Contributor: Jérémie Dimino <jeremie at dimino dot org>
4 pkgname=actkbd
5 pkgver=0.2.8
6 pkgrel=4
7 pkgdesc="A keyboard shortcut daemon"
8 arch=('i686' 'x86_64')
9 url="http://users.softlab.ece.ntua.gr/~thkala/projects/actkbd/"
10 license=('GPL')
11 backup=('etc/actkbd.conf')
12 source=(http://users.softlab.ece.ntua.gr/~thkala/projects/actkbd/files/$pkgname-$pkgver.tar.bz2 
13         actkbd)
14 md5sums=('d055690da0465cefcf168c5532efcb2e'
15          '699e127ca6636d0437ff354cdcbc2006')
17 build() {
18     # Compile, install files and rc.d script
19     cd $srcdir/$pkgname-$pkgver
20     make || return 1
21     make sysconfdir=$pkgdir/etc prefix=$pkgdir/usr install || return 1
22     install -Dm 755 $srcdir/actkbd $pkgdir/etc/rc.d/actkbd
24     # Install doc and examples
25     install -d $pkgdir/usr/share/doc/actkbd/samples
26     install -m 644 samples/* $pkgdir/usr/share/doc/actkbd/samples
27     install -m 644 README FAQ $pkgdir/usr/share/doc/actkbd