aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-08-18 20:46:26 +0200
committerFrancesco Colista <fcolista@alpinelinux.org>2015-08-20 14:27:33 +0000
commit94f1ee94e271eef3374602739673b99b5c3231d9 (patch)
treea7e6ffd00160a73ea11101f904246d31a5f6e01f
parentd4fd8bfbf0256fcb70d1a62e8be2c37aa320f71d (diff)
downloadaports-94f1ee94e271eef3374602739673b99b5c3231d9.tar.bz2
aports-94f1ee94e271eef3374602739673b99b5c3231d9.tar.xz
main/debootstrap: add doc subpackage
-rw-r--r--main/debootstrap/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/debootstrap/APKBUILD b/main/debootstrap/APKBUILD
index 787d95b50b..d8d213754a 100644
--- a/main/debootstrap/APKBUILD
+++ b/main/debootstrap/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=debootstrap
pkgver=1.0.72
-pkgrel=0
+pkgrel=1
pkgdesc="Debian/Ubuntu bootstrap scripts"
url="http://packages.qa.debian.org/d/debootstrap.html"
arch="all"
@@ -10,7 +10,7 @@ license="GPL2"
depends="dpkg tar"
makedepends=""
install=""
-subpackages=""
+subpackages="$pkgname-doc"
source="http://ftp.de.debian.org/debian/pool/main/d/debootstrap/debootstrap_$pkgver.tar.gz
pkgdetails.c
makedev.sh"
@@ -30,7 +30,10 @@ package() {
devices.tar.gz || return 1
make DESTDIR="$pkgdir" install || return 1
- install -Dm755 pkgdetails "$pkgdir"/usr/lib/debootstrap/pkgdetails
+ install -Dm755 pkgdetails \
+ "$pkgdir"/usr/lib/debootstrap/pkgdetails || return 1
+ install -Dm644 $pkgname.8 \
+ "$pkgdir"/usr/share/man/man8/$pkgname.8 || return 1
}
md5sums="0cacf6e3bd8b566e921d2a326d6fd2bd debootstrap_1.0.72.tar.gz