updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gadmin-dhcpd / PKGBUILD
blob70a8d6f8125afc8a124748b9159d884df9a62f49
1 # Maintainer: Nathan Owe <ndowens.aur at gmail dot com>
2 pkgname=gadmin-dhcpd
3 pkgver=0.5.0
4 pkgrel=1
5 pkgdesc="An easy to use GTK+ application to administer DHCPD"
6 arch=('i686' 'x86_64')
7 url="http://gadmintools.flippedweb.com/index.php?option=com_content&task=view&id=18&Itemid=32"
8 license=('GPL')
9 depends=('gtk2')
10 optdepends=('gksu: Graphical SU Support')
11 source=("http://mange.dynalias.org/linux/${pkgname}/${pkgname}-${pkgver}.tar.gz" "${pkgname}.desktop" "${pkgname}-menu" )
12 md5sums=('300e7b1fb8bad829a9f05bbd57783a26'
13          'a646a26d9ac8af337abf43e08cdfe7b6'
14          'bbff64e9a70afb32d814ebdfa3eb9170')
16 build() {
17   cd "${srcdir}/${pkgname}-${pkgver}"
18   ./configure --prefix=/usr --sysconfdir=/etc
19   make
22 package() {
23   cd "${srcdir}/${pkgname}-${pkgver}"
24   make DESTDIR="${pkgdir}/" install
25   install -Dm755 ${srcdir}/${pkgname}-menu ${pkgdir}/usr/sbin/${pkgname}-menu
26   install -Dm644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop