updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / dhcpcd-ui / PKGBUILD
blob1fe8507c2d150f5639f10ce8897c3b37aa982a5d
1 # Maintainer: nizox <nizzox@gmail.com>
2 pkgname=dhcpcd-ui
3 pkgver=0.4.0
4 pkgrel=1
5 pkgdesc="dhcpcd Monitor in GTK+"
6 url="http://roy.marples.name/projects/dhcpcd-ui"
7 license=("BSD")
8 depends=("libnotify" "dhcpcd-dbus>=0.4.0")
9 source=(http://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.bz2)
11 arch=(i686 x86_64)
13 build() {
14   cd $startdir/src/$pkgname-$pkgver
16   export SYSCONFDIR="/etc/xdg/autostart"
17   make || return 1
18   make PREFIX=/usr DESTDIR=$startdir/pkg install
19   
20   #install LICENSE
21   install -d $pkgdir/usr/share/licenses/$pkgname || return 1
22   awk '{if(FNR<27)print $0}' ${srcdir}/${pkgname}-${pkgver}/src/dhcpcd-gtk/dhcpcd-gtk.h \
23         >> ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
26 md5sums=('e2a4b029f1974a885c0b3bacef111db1')