[arch-commits] Commit in pdns/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Sun Feb 26 06:34:56 EST 2012


    Date: Sunday, February 26, 2012 @ 06:34:56
  Author: pierre
Revision: 151455

upgpkg: pdns 2.9.22.6-1

upstream update

Modified:
  pdns/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-26 11:28:37 UTC (rev 151454)
+++ PKGBUILD	2012-02-26 11:34:56 UTC (rev 151455)
@@ -2,10 +2,10 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=pdns
-pkgver=2.9.22
-pkgrel=7
+pkgver=2.9.22.6
+pkgrel=1
 pkgdesc="A modern, advanced and high performance authoritative-only nameserver"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 url="http://www.powerdns.com"
 license=('GPL')
 depends=('gcc-libs' 'zlib' 'postgresql-libs' 'libmysqlclient' 'sqlite3' 'libldap')
@@ -14,14 +14,14 @@
 replaces=('pdns-ldap' 'pdns-mysql' 'pdns-sqlite' 'pdns-pgsql')
 conflicts=('pdns-ldap' 'pdns-mysql' 'pdns-sqlite' 'pdns-pgsql')
 install=pdns.install
-options=(!makeflags !libtool)
+options=('!makeflags' '!libtool')
 backup=('etc/powerdns/pdns.conf')
-source=(http://downloads.powerdns.com/releases/${pkgname}-${pkgver}.tar.gz
-        2.9.18-default-mysql-options.patch
-        pdns-2.9.22-gcc44.patch
-        pdns.rc
-        pdns.conf)
-md5sums=('8a6ff842733aca885577eb54e983a1ff'
+source=("http://downloads.powerdns.com/releases/${pkgname}-${pkgver}.tar.gz"
+        '2.9.18-default-mysql-options.patch'
+        'pdns-2.9.22-gcc44.patch'
+        'pdns.rc'
+        'pdns.conf')
+md5sums=('ff97ba980b322adb61c3e9c9e9c4adef'
          '90fb32e843326d14359c508cef855929'
          '530642273005bdabae27792098834ea6'
          '16e2d32e9781be7afa8f1700740bcdb0'
@@ -29,8 +29,8 @@
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np1 -i "${srcdir}/2.9.18-default-mysql-options.patch"
-  patch -Np1 -i "${srcdir}/pdns-2.9.22-gcc44.patch"
+  patch -p1 -i "${srcdir}/2.9.18-default-mysql-options.patch"
+  patch -p1 -i "${srcdir}/pdns-2.9.22-gcc44.patch"
   touch AUTHORS NEWS
   libtoolize --force --copy
   aclocal
@@ -46,6 +46,10 @@
     --disable-recursor \
     --disable-static
   make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
   install -m755 -d "${pkgdir}/etc/rc.d"
   rm "${pkgdir}/etc/powerdns/pdns.conf-dist"



More information about the arch-commits mailing list