summaryrefslogtreecommitdiff
path: root/community/pdnsd/PKGBUILD
blob: f73b30940a7450eb8e82e0e3d45837ad95a8f2f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 12265 2010-02-28 22:24:26Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Henrik Nymann Jensen <h@henriknj.dk>

pkgname=pdnsd
pkgver=1.2.8
pkgrel=1
pkgdesc="Is a proxy DNS server with permanent caching"
arch=(i686 x86_64)
url="http://www.phys.uu.nl/~rombouts/pdnsd/"
license=('GPL')
depends=('glibc')
backup=('etc/pdnsd.conf')
source=(http://www.phys.uu.nl/~rombouts/pdnsd/releases/$pkgname-$pkgver-par.tar.gz pdnsd)
md5sums=('779c5d19576e561fbf2455de435e5597'
         '3670bd47c9303fbb655d9216715512de')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc
  make || return 1
  make DESTDIR=$pkgdir install || return 1

  mkdir -p $pkgdir/etc/rc.d && \
  cp $srcdir/pdnsd $pkgdir/etc/rc.d/ && \
  mkdir -p $pkgdir/usr/share/ && \
  mv $pkgdir/usr/man $pkgdir/usr/share/
}