aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2019-10-25 17:57:26 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2019-10-25 17:58:11 +0200
commit0453b1f33063b7627ffb31f5fdc964b8cf146dcd (patch)
treee9b1e7b4d6eafe826933fe4c2f0dfa80a2e80d90
parentd7a8c44b9aa0cebf17cbe2c192adbd13b9fd0aa0 (diff)
downloadaports-0453b1f33063b7627ffb31f5fdc964b8cf146dcd.tar.gz
aports-0453b1f33063b7627ffb31f5fdc964b8cf146dcd.tar.bz2
aports-0453b1f33063b7627ffb31f5fdc964b8cf146dcd.tar.xz
main/nmap: install additional documentation files
While at it also fix variable quoting in the installation of the license file.
-rw-r--r--main/nmap/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/main/nmap/APKBUILD b/main/nmap/APKBUILD
index 101d26968b..1707af1aa7 100644
--- a/main/nmap/APKBUILD
+++ b/main/nmap/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=nmap
pkgver=7.80
-pkgrel=0
+pkgrel=1
pkgdesc="A network exploration tool and security/port scanner"
url="http://nmap.org"
arch="all"
@@ -56,7 +56,12 @@ check() {
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
- install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ install -Dm644 COPYING \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
+ install -m644 CHANGELOG CONTRIBUTING.md HACKING README.md \
+ "$pkgdir"/usr/share/doc/$pkgname/
}
scripts() {