1 # Maintainer: Reza Jelveh <reza.jelveh at tuhh.de>
6 pkgdesc="radio killswitch management daemon"
7 url="http://www.freedesktop.org/wiki/Software/urfkill"
11 depends=('glib2' 'sh' 'dbus' 'udev' 'polkit')
12 backup=('etc/urfkill/urfkill.conf')
14 source=("https://github.com/downloads/lcp/$pkgname/$pkgname-$pkgver.tar.bz2" \
17 sha1sums=('b87578761fecb7539efe53733e33d32eea68fc96'
18 'f96f8d7cecd086c199d2f72a35aac28ae5820a41'
19 'ae077bf7c96afe778643fda1e43585241c886ac3')
22 cd ${srcdir}/${pkgname}-${pkgver}
24 patch -p1 < $srcdir/daemon_patch.diff
26 ./configure --sysconfdir=/etc --libexecdir=/usr/lib/urfkill --prefix=/usr
33 cd ${srcdir}/${pkgname}-${pkgver}
34 make DESTDIR=${pkgdir} install
36 sed -i 's/user=root/user=nobody/' $pkgdir/etc/urfkill/urfkill.conf
38 $srcdir/rc.urfkilld $pkgdir/etc/rc.d/urfkilld || return 1