diff options
Diffstat (limited to 'community/pdns/PKGBUILD')
-rw-r--r-- | community/pdns/PKGBUILD | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/community/pdns/PKGBUILD b/community/pdns/PKGBUILD index c72dba5fa..f647660fd 100644 --- a/community/pdns/PKGBUILD +++ b/community/pdns/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 99950 2013-10-31 02:38:53Z allan $ +# $Id: PKGBUILD 102266 2013-12-07 10:36:51Z bpiotrowski $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Jan de Groot <jgc@archlinux.org> # Contributor: Kevin Mihelich <kevin@archlinuxarm.org> pkgname=pdns pkgver=3.3 -pkgrel=2 +pkgrel=3 pkgdesc='Modern, advanced and high performance authoritative-only nameserver' arch=('x86_64' 'i686') url='http://www.powerdns.com/' @@ -15,7 +15,6 @@ makedepends=('boost') provides=('pdns-ldap' 'pdns-mysql' 'pdns-sqlite' 'pdns-pgsql') replaces=('pdns-ldap' 'pdns-mysql' 'pdns-sqlite' 'pdns-pgsql') conflicts=('pdns-ldap' 'pdns-mysql' 'pdns-sqlite' 'pdns-pgsql') -install="$pkgname.install" options=('!makeflags') backup=('etc/powerdns/pdns.conf') source=("http://downloads.powerdns.com/releases/$pkgname-$pkgver.tar.gz" @@ -26,13 +25,11 @@ sha256sums=('93417bb418ccd1eaf85fc98aa9f687ed175de388fa2624a1978b7cd40dc2b0b6' 'a1afcccb0d2fb6a6f7a5960de95f8d38ce1ac75ac5e3dcecf09e49f0de10166e') prepare() { - cd "$srcdir/$pkgname-$pkgver" - - touch AUTHORS NEWS + touch "$pkgname-$pkgver/AUTHORS" "$pkgname-$pkgver/NEWS" } build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$pkgname-$pkgver" ./configure \ --prefix=/usr \ @@ -49,9 +46,7 @@ build() { } package() { - cd "$srcdir/$pkgname-$pkgver" - - make DESTDIR="$pkgdir" install + make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install install -m644 "$srcdir/pdns.conf" "$pkgdir/etc/powerdns/" install -Dm644 "$srcdir/pdns.service" \ "$pkgdir/usr/lib/systemd/system/pdns.service" |