diff options
author | Mantas Mikulėnas | 2022-03-29 08:43:13 +0300 |
---|---|---|
committer | Mantas Mikulėnas | 2022-03-29 08:43:32 +0300 |
commit | 14670b2d19fa8e590d9c884406a32458a5f8d40e (patch) | |
tree | 3e9bd13d33e026d2d6bb7c00617737382c116d98 | |
parent | ae44dadfac3eb400462a4de87e84a7f6b31d0dda (diff) | |
download | aur-open-plc-utils.tar.gz |
fix install location of manual pages
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 17 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = open-plc-utils pkgdesc = Qualcomm Atheros Open Powerline Toolkit for HomePlug AV pkgver = r524.gbb50f635 - pkgrel = 4 + pkgrel = 5 url = https://github.com/qca/open-plc-utils arch = i686 arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: Mantas Mikulėnas <grawity@gmail.com> pkgname=open-plc-utils pkgver=r524.gbb50f635 -pkgrel=4 +pkgrel=5 pkgdesc="Qualcomm Atheros Open Powerline Toolkit for HomePlug AV" arch=(i686 x86_64) url=https://github.com/qca/open-plc-utils @@ -23,13 +23,25 @@ build() { package() { cd $pkgname - make ROOTFS="$pkgdir" BIN="$pkgdir"/usr/bin install manuals - mv "$pkgdir"/usr/bin/amptest{,.plc} - mv "$pkgdir"/usr/bin/pev{,.plc} + make \ + ROOTFS="$pkgdir" \ + BIN="$pkgdir"/usr/bin \ + MAN="$pkgdir"/usr/share/man/man1 \ + install \ + manuals + install -D -m 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + + # Install additional docs mkdir -p "$pkgdir"/usr/share/doc/$pkgname cp -av docbook "$pkgdir"/usr/share/doc/$pkgname/docbook + # Avoid conflict with bluez-utils + mv "$pkgdir"/usr/bin/amptest{,.plc} + + # Avoid conflict with aur/pev + mv "$pkgdir"/usr/bin/pev{,.plc} + # Restrict binaries that send or capture arbitrary frames for f in "$pkgdir"/usr/bin/e[df]??; do chmod -c u-s "$f" |