summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/iproute2/APKBUILD7
-rw-r--r--user/pciutils/APKBUILD8
2 files changed, 13 insertions, 2 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() {
diff --git a/user/pciutils/APKBUILD b/user/pciutils/APKBUILD
index f198c08c8..a20e48e9d 100644
--- a/user/pciutils/APKBUILD
+++ b/user/pciutils/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=pciutils
pkgver=3.6.2
-pkgrel=1
+pkgrel=2
pkgdesc="PCI bus configuration space access library and tools"
url="http://mj.ucw.cz/pciutils.html"
arch="all"
@@ -35,6 +35,12 @@ package() {
MANDIR="$pkgdir"/usr/share/man \
install install-lib
+ mkdir "$pkgdir"/usr/bin/
+ mv "$pkgdir"/usr/sbin/lspci "$pkgdir"/usr/bin/lspci
+ mkdir "$pkgdir"/usr/share/man/man1
+ mv "$pkgdir"/usr/share/man/man8/lspci.8 \
+ "$pkgdir"/usr/share/man/man1/lspci.1
+
rm "$pkgdir"/usr/sbin/update-pciids
rm "$pkgdir"/usr/share/man/man8/update-pciids.8
rm -r "$pkgdir"/usr/share/hwdata