summaryrefslogtreecommitdiff
path: root/community/dnstracer/PKGBUILD
blob: e2fcb7ebafb9c5306290f4d43feb10f196b451f7 (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: Gaetan Bisson <bisson@archlinux.org>

pkgname=dnstracer
pkgver=1.9
pkgrel=3.1
pkgdesc='Determines where a given DNS server gets its information from, and follows the chain of DNS servers'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.mavetju.org/unix/dnstracer.php'
license=('BSD')
source=("http://www.mavetju.org/download/$pkgname-$pkgver.tar.gz")
sha1sums=('b8c60b281c0eb309acd1b1551c51cccb951685c7')

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./configure --prefix=/usr --mandir=/usr/share/man
	make
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
	install -D LICENSE "$pkgdir"/usr/share/licenses/dnstracer/LICENSE
}