diff options
Diffstat (limited to 'community/pdns/PKGBUILD')
-rw-r--r-- | community/pdns/PKGBUILD | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/community/pdns/PKGBUILD b/community/pdns/PKGBUILD index d42718ede..8387ffd6f 100644 --- a/community/pdns/PKGBUILD +++ b/community/pdns/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 87427 2013-03-31 19:18:34Z stephane $ +# $Id: PKGBUILD 90235 2013-05-09 18:41:57Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Jan de Groot <jgc@archlinux.org> # Contributor: Kevin Mihelich <kevin@archlinuxarm.org> pkgname=pdns pkgver=3.2 -pkgrel=5 +pkgrel=6 pkgdesc='Modern, advanced and high performance authoritative-only nameserver' arch=('x86_64' 'i686' 'mips64el') url='http://www.powerdns.com/' @@ -20,17 +20,20 @@ options=('!makeflags' '!libtool') backup=('etc/powerdns/pdns.conf') source=("http://downloads.powerdns.com/releases/$pkgname-$pkgver.tar.gz" 'pdns.service' - 'pdns.rc' 'pdns.conf') sha256sums=('d1895aba065446dc68e5d7cc792d5303626c71759f61a455531ed65d59c06572' '2a60c4407bcfe19026ae77d3e3b7b477d5a0c6323c0bc78892e9d907003b442a' - '0457ffa2baa40518a03393e4f76964d9452c16aebbcb925582814f88367d62c2' - '91c8889f41fe9d6bc9478c3ad53a10f6725e36e10f05e8e9257f9d35c9e2bab6') + 'a1afcccb0d2fb6a6f7a5960de95f8d38ce1ac75ac5e3dcecf09e49f0de10166e') -build() { +prepare() { cd "$srcdir/$pkgname-$pkgver" touch AUTHORS NEWS +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure \ --prefix=/usr \ --sysconfdir=/etc/powerdns \ @@ -48,9 +51,7 @@ package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install - install -m755 -d "$pkgdir/etc/rc.d" install -m644 "$srcdir/pdns.conf" "$pkgdir/etc/powerdns/" - install -m755 "$srcdir/pdns.rc" "$pkgdir/etc/rc.d/pdns" install -Dm644 "$srcdir/pdns.service" \ "$pkgdir/usr/lib/systemd/system/pdns.service" rm "$pkgdir/etc/powerdns/pdns.conf-dist" |