updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / dhcping / PKGBUILD
blobc69df138047137a346e66a7eedece647a446769c
1 # Maintainer: enzzzzy <enzzzzy ta gmail dot com>
2 pkgname=dhcping
3 pkgver=1.2
4 pkgrel=1
5 pkgdesc='A small tool to let you perform a dhcp-request to find out if a dhcp-server is still running.'
6 arch=('i686' 'x86_64')
7 url='http://www.mavetju.org/unix/general.php'
8 license=('BSD')
9 source=(http://www.mavetju.org/download/$pkgname-$pkgver.tar.gz)
10 md5sums=('c4b22bbf3446c8567e371c40aa552d5d')
12 build() {
13     cd ${srcdir}/${pkgname}-${pkgver}
14     ./configure --prefix=/usr  --build=${CHOST} --host=${CHOST} --mandir=/usr/share/man
15     make
18 check() {
19     cd ${srcdir}/${pkgname}-${pkgver}
20     make check
23 package () {
24     echo $pkgdir
25     cd ${srcdir}/${pkgname}-${pkgver}
26     make DESTDIR=${pkgdir} install
27     chmod 4755 ${pkgdir}/usr/bin/dhcping