summaryrefslogtreecommitdiff
path: root/system/iproute2/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-23 19:54:54 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-23 19:55:01 +0000
commitfd0779b8554d4cbc8d6feaacf66831867e15926d (patch)
tree371edeb321194ce69fa7e155bcbf284e2227c065 /system/iproute2/APKBUILD
parenta4e9e939954682c18b16d3ddcf9e79bdbc073e64 (diff)
downloadpackages-fd0779b8554d4cbc8d6feaacf66831867e15926d.tar.gz
packages-fd0779b8554d4cbc8d6feaacf66831867e15926d.tar.bz2
packages-fd0779b8554d4cbc8d6feaacf66831867e15926d.tar.xz
packages-fd0779b8554d4cbc8d6feaacf66831867e15926d.zip
system/iproute2: move ip(8) to ip(1)
Diffstat (limited to 'system/iproute2/APKBUILD')
-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() {