summaryrefslogtreecommitdiff
path: root/community-testing/pdnsd/PKGBUILD
blob: 77ae377003de25450c01b31e4faf24369c1f4908 (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 72558 2012-06-16 17:10:27Z dreisner $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Henrik Nymann Jensen <h@henriknj.dk>

pkgname=pdnsd
pkgver=1.2.9
pkgrel=2
pkgdesc="Is a proxy DNS server with permanent caching"
arch=(i686 x86_64)
url="http://members.home.nl/p.a.rombouts/pdnsd/"
license=('GPL')
depends=('glibc')
#backup=('etc/pdnsd.conf')
source=(http://members.home.nl/p.a.rombouts/pdnsd/releases/pdnsd-$pkgver-par.tar.gz
	pdnsd
	pdnsd.service)
md5sums=('037f79d191b98974ffc2c9649727bf66'
         '3670bd47c9303fbb655d9216715512de'
         'fad5e518d126b29fc947941d57a0a494')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc
  make
  make DESTDIR=$pkgdir install
  install -Dm0755 $srcdir/pdnsd $pkgdir/etc/rc.d/pdnsd
  install -Dm0644 $srcdir/pdnsd.service $pkgdir/usr/lib/systemd/system/pdnsd.service
}