summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e381a2d800cbb36a5e96a97611440c7c2a2c5cc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Contributor: danitool
pkgname=dhd
pkgver=2.1
pkgrel=1
pkgdesc="Ultra-fast dhcp discovery"
url="http://www.latinsud.com/pub/dhd/"
license=("GPL")
depends=('libnet' 'libpcap')
makedepends=('gcc')
arch=('i686' 'x86_64')
#source=(http://www.latinsud.com/pub/dhd/dhd.c)
source=(dhd.c)
md5sums=('e50f7489136412a602cf47fd1fd382e2')

build() {
  cd $srcdir
  gcc -o dhd dhd.c -lnet -lpcap -lpthread || return 1
}

package() {
  install -m 755 -D dhd $pkgdir/usr/bin/dhd || return 1
}