1 # Contributor: Felix Hanley <felix@seconddrawer.com.au>
5 pkgdesc="A daemon that executes arbitrary commands on HAL events"
7 url="http://www.nongnu.org/halevt/"
9 depends=('hal' 'boolstuff' 'libxml2')
10 makedepends=('pkgconfig')
12 install=halevt.install
13 source=(http://savannah.nongnu.org/download/halevt/$pkgname-$pkgver.tar.gz
15 md5sums=('e5e81ba1ffa9f2230bf80f8b3da4f166'
16 '0e3c09a7a3f47205812eecde766a437c')
18 cd "$srcdir/$pkgname-$pkgver"
19 ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var
21 make DESTDIR="$pkgdir/" install
22 # rm ${startdir}/pkg/usr/share/info/dir
23 install -m755 -D $startdir/halevt.rc $startdir/pkg/etc/rc.d/halevt || return 1
24 mkdir -p $startdir/pkg/usr/share/$pkgname/examples
25 cp $srcdir/$pkgname-$pkgver/examples/*.{xml,sh} $startdir/pkg/usr/share/$pkgname/examples/
28 # vim:set ts=2 sw=2 et: