summaryrefslogtreecommitdiff
path: root/community/nsd/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-11 23:15:00 +0000
committerroot <root@rshg054.dnsready.net>2011-12-11 23:15:00 +0000
commit22b0fa480661b6247dabf39059fe629e1d233a9a (patch)
tree21d577c8083046449768f463eef2a2e1bcebaa92 /community/nsd/PKGBUILD
parente37e888e9ecdc23a004eb19d72c64c02c5af3249 (diff)
Sun Dec 11 23:15:00 UTC 2011
Diffstat (limited to 'community/nsd/PKGBUILD')
-rw-r--r--community/nsd/PKGBUILD26
1 files changed, 13 insertions, 13 deletions
diff --git a/community/nsd/PKGBUILD b/community/nsd/PKGBUILD
index ef11a6dc1..abd455dbb 100644
--- a/community/nsd/PKGBUILD
+++ b/community/nsd/PKGBUILD
@@ -1,34 +1,34 @@
-# $Id: PKGBUILD 43285 2011-03-24 13:35:27Z bisson $
+# $Id: PKGBUILD 60316 2011-12-10 11:25:09Z bisson $
# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Roberto Alsina <ralsina@kde.org>
pkgname=nsd
-pkgver=3.2.8
+pkgver=3.2.9
pkgrel=1
pkgdesc='Authoritative only, high performance and simple DNS server'
-arch=('i686' 'x86_64')
url='http://www.nlnetlabs.nl/nsd/'
license=('BSD')
depends=('openssl')
makedepends=('flex')
-source=("http://www.nlnetlabs.nl/downloads/nsd/nsd-$pkgver.tar.gz")
-sha1sums=('e8db690a09f53152f0dca6e4fbfabcc89003fced')
+arch=('i686' 'x86_64')
+source=("http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('66e17e5801e94da1a21f0f2a4dd7a4ab4ffe0dd9')
-install=nsd.install
+install=install
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/ --exec-prefix=/usr --datarootdir=/usr/share
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- install -d "$pkgdir"/{etc/rc.d,usr/share/{doc,licenses}/"$pkgname"}
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -d "${pkgdir}"/{etc/rc.d,usr/share/{doc,licenses}/"${pkgname}"}
rm doc/differences.pdf
- install -m644 doc/* "$pkgdir"/usr/share/doc/"$pkgname"
- ln -s ../../doc/"$pkgname"/LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
- ln -s ../../usr/sbin/nsdc "$pkgdir"/etc/rc.d/nsd
+ install -m644 doc/* "${pkgdir}"/usr/share/doc/"${pkgname}"
+ ln -s ../../doc/"${pkgname}"/LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
+ ln -s ../../usr/sbin/nsdc "${pkgdir}"/etc/rc.d/nsd
}