# Maintainer: Natanael Copa pkgname=dhcpcd-ui pkgver=0.7.3 pkgrel=0 pkgdesc="A GTK+ monitor and configuration GUI for dhcpcd" url="http://roy.marples.name/projects/dhcpcd-ui" arch="all" license="BSD-2" depends="dhcpcd-dbus hicolor-icon-theme" makedepends="glib-dev gtk+-dev dbus-dev libnotify-dev pkgconfig" install= subpackages="$pkgname-doc" source="http://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.bz2 " _builddir="$srcdir"/dhcpcd-ui-$pkgver prepare() { cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ || return 1 make } package() { cd "$_builddir" make DESTDIR="$pkgdir" AUTOSTARTDIR=/etc/xdg/autostart install } md5sums="6cd085cdf7f9c2bd9b98029edc1d712c dhcpcd-ui-0.7.3.tar.bz2" sha256sums="fd69dfe988c7ab9222c40e24857d0be7a4265ef8c403dbbb8aeb310b3c71b0b2 dhcpcd-ui-0.7.3.tar.bz2" sha512sums="4fe39466ce222bd04726a3b9cc20259e24977848a0ca1448940bcf492c474d8243e5686b56ad311d2c37309573f19a6cd0539025113de6ed457b5a627a402426 dhcpcd-ui-0.7.3.tar.bz2"