updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / dnrd / PKGBUILD
blob870063c8dcaf2f5802601743549812a5476751df
1 # Maintainer: Sabart Otto - Seberm <seberm@gmail.com>
3 pkgname=dnrd
4 pkgver=2.20.3
5 pkgrel=2
6 pkgdesc="Domain Name Relay Daemon is a caching, forwarding DNS proxy server."
7 arch=('i686' 'x86_64') 
8 url="http://dnrd.sourceforge.net"
9 license=('GPL')
10 depends=()
11 makedepends=()
12 conflicts=()
13 replaces=()
14 backup=()
16 #source=(http://dl.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
17 source=("http://downloads.sourceforge.net/project/dnrd/dnrd/$pkgver/dnrd-${pkgver}.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fdnrd%2Ffiles%2Fdnrd%2F2.20.3%2Fdnrd-2.20.3.tar.gz%2Fdownload&ts=1291228511&use_mirror=switch")
19 install=dnrd.install
20 md5sums=('41c9b070aae8ed403fc8c2aac7ab157c')
23 build() {
25   cd $startdir/src/${pkgname}-${pkgver}
26   ./configure --prefix=/usr --sysconfdir=/etc
27   make || return 1
28   make DESTDIR=${startdir}/pkg install
29   mkdir -p $startdir/pkg/etc/dnrd
30   chmod 755 $startdir/pkg/etc/dnrd