diff options
author | danitool | 2015-09-13 17:25:27 +0200 |
---|---|---|
committer | danitool | 2015-09-13 17:25:27 +0200 |
commit | d6e2ece37140b72ef2ea6ad8b1f471f22585f26f (patch) | |
tree | a2baf1b280cd6bca1fa1b61bf31b988662759647 /PKGBUILD | |
download | aur-dhd.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e381a2d800cb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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 +} |