summaryrefslogtreecommitdiff
path: root/core/iproute2
diff options
context:
space:
mode:
Diffstat (limited to 'core/iproute2')
-rw-r--r--core/iproute2/PKGBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/core/iproute2/PKGBUILD b/core/iproute2/PKGBUILD
index a42ee69c7..f0e3302d8 100644
--- a/core/iproute2/PKGBUILD
+++ b/core/iproute2/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 184614 2013-05-07 16:15:47Z foutrelis $
+# $Id: PKGBUILD 187029 2013-06-03 11:15:12Z allan $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
pkgname=iproute2
pkgver=3.9.0
-pkgrel=1
+pkgrel=2
pkgdesc="IP Routing Utilities"
arch=('i686' 'x86_64')
license=('GPL2')
@@ -46,12 +46,11 @@ package() {
make DESTDIR="$pkgdir" install
- # allow loopback to be started before /usr is mounted, this may not be supported in the future
- mkdir -p "$pkgdir/sbin"
- mv "$pkgdir/usr/sbin/ip" "$pkgdir/sbin/ip"
- ln -s /sbin/ip "$pkgdir/usr/sbin/ip"
-
# libnetlink isn't installed, install it FS#19385
install -Dm644 include/libnetlink.h "$pkgdir/usr/include/libnetlink.h"
install -Dm644 lib/libnetlink.a "$pkgdir/usr/lib/libnetlink.a"
+
+ # usrmove
+ cd "$pkgdir"
+ mv usr/sbin usr/bin
}