summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/iproute2/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/system/iproute2/APKBUILD b/system/iproute2/APKBUILD
index e42fb126f..8c7c1a64b 100644
--- a/system/iproute2/APKBUILD
+++ b/system/iproute2/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=iproute2
pkgver=5.2.0
-pkgrel=0
+pkgrel=1
pkgdesc="IP configuration, routing, and traffic control utilities"
url="https://wiki.linuxfoundation.org/networking/iproute2"
arch="all"
@@ -36,6 +36,11 @@ build() {
package() {
make -j1 DESTDIR="$pkgdir" install
+ mkdir "$pkgdir"/bin
+ mv "$pkgdir"/sbin/ip "$pkgdir"/bin/ip
+ mkdir "$pkgdir"/usr/share/man/man1
+ mv "$pkgdir"/usr/share/man/man8/ip.8 \
+ "$pkgdir"/usr/share/man/man1/ip.1
}
bashcomp() {