summaryrefslogtreecommitdiff
path: root/community/ndisc6/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ndisc6/PKGBUILD')
-rw-r--r--community/ndisc6/PKGBUILD22
1 files changed, 15 insertions, 7 deletions
diff --git a/community/ndisc6/PKGBUILD b/community/ndisc6/PKGBUILD
index f7f2b94d5..74420d0a1 100644
--- a/community/ndisc6/PKGBUILD
+++ b/community/ndisc6/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 86933 2013-03-25 01:19:53Z seblu $
+# $Id: PKGBUILD 90526 2013-05-13 00:18:50Z seblu $
# Maintainer: Sébastien Luttringer
# Contributor: Chris Brannon <chris@the-brannons.com>
# Contributor: Mark Smith <markzzzsmith@yahoo.com.au>
pkgname=ndisc6
pkgver=1.0.2
-pkgrel=6
+pkgrel=7
pkgdesc='Collection of IPv6 networking utilities'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.remlab.net/ndisc6/'
@@ -13,17 +13,25 @@ license=('GPL')
depends=('glibc' 'perl')
makedepends=('glibc' 'gcc')
options=(!emptydirs)
-install=ndisc6.install
+install=$pkgname.install
source=("http://www.remlab.net/files/ndisc6/$pkgname-$pkgver.tar.bz2"
'rdnssd.service')
md5sums=('50cb4c19606cf6ff2b7388e71832f579'
- 'beeb4f033e9eb951e2de962f609c7c2a')
+ '88a290cbcf51ac5e10ed5f995a8ba4b9')
+
+prepare() {
+ # patch invalid path
+ sed -ri 's,PATH=/sbin:/bin,PATH=/sbin:/bin:/usr/sbin:/usr/bin,' \
+ $pkgname-$pkgver/rdnssd/merge-hook.in
+}
build() {
cd $pkgname-$pkgver
- # patch invalid path
- sed -ri 's,PATH=/sbin:/bin,PATH=/sbin:/bin:/usr/sbin:/usr/bin,' rdnssd/merge-hook.in
- ./configure --localstatedir=/var --sysconfdir=/etc --prefix=/usr
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --localstatedir=/var \
+ --sysconfdir=/etc
make
}