updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / halevt / PKGBUILD
blob85886b8e9cbbd5a38ff9edc775a7f74878d29b93
1 # Contributor: Felix Hanley <felix@seconddrawer.com.au>
2 pkgname=halevt
3 pkgver=0.1.6.2
4 pkgrel=1
5 pkgdesc="A daemon that executes arbitrary commands on HAL events"
6 arch=('i686' 'x86_64')
7 url="http://www.nongnu.org/halevt/"
8 license=('GPL')
9 depends=('hal' 'boolstuff' 'libxml2')
10 makedepends=('pkgconfig')
11 optdepends=('pmount')
12 install=halevt.install
13 source=(http://savannah.nongnu.org/download/halevt/$pkgname-$pkgver.tar.gz
14   halevt.rc)
15 md5sums=('e5e81ba1ffa9f2230bf80f8b3da4f166'
16   '0e3c09a7a3f47205812eecde766a437c')
17 build() {
18   cd "$srcdir/$pkgname-$pkgver"
19   ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib  --localstatedir=/var
20   make || return 1
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: