summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e88871d8b07e5f088ac7b1fec1dc4db6efbc73ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Pan Lanlan <abbypan@gmail.com>
pkgname=wdns-git
pkgver=0.0.0
pkgrel=1
pkgdesc='wdns is a low-level C library for dealing with wire-format dns packets.'
arch=('any')
license=('MIT')
makedepends=('libpcap' 'tcpdump' 'pkgconf')
url="https://github.com/farsightsec/wdns/"

build() {
    git clone --recursive $url
    cd wdns
    ./autogen.sh
    ./configure
    make
    make check
}

package() {
	cd wdns
    make install DESTDIR=$pkgdir
}