diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-08-05 22:28:40 +0200 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-08-07 07:35:44 +0000 |
commit | b6bcbdaca40ad7d03947f34d01677dc058921d40 (patch) | |
tree | de727bd34320bd256452996c6e0ace785b778ef5 | |
parent | 43432b37debd409205ba8c16d731ee106934cb45 (diff) | |
download | aports-b6bcbdaca40ad7d03947f34d01677dc058921d40.tar.bz2 aports-b6bcbdaca40ad7d03947f34d01677dc058921d40.tar.xz |
main/gptfdisk: add gptfdisk-doc subpackage
-rw-r--r-- | main/gptfdisk/APKBUILD | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/main/gptfdisk/APKBUILD b/main/gptfdisk/APKBUILD index f9921407f9..ad29933548 100644 --- a/main/gptfdisk/APKBUILD +++ b/main/gptfdisk/APKBUILD @@ -1,12 +1,13 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gptfdisk pkgver=1.0.0 -pkgrel=0 +pkgrel=1 pkgdesc="A text-mode partitioning tool that works on Globally Unique Identifier (GUID) Partition Table (GPT) disks" arch="all" url="http://www.rodsbooks.com/gdisk/" license='GPL2' makedepends="ncurses-dev e2fsprogs-dev popt-dev linux-headers" +subpackages="$pkgname-doc" source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz" _builddir="$srcdir"/gptfdisk-$pkgver @@ -17,10 +18,8 @@ build() { package () { cd "$_builddir" - install -d "$pkgdir"/usr/bin \ - "$pkgdir"/usr/share/man/man8 \ - || return 1 + mkdir -p "$pkgdir"/usr/bin "$pkgdir"/usr/share/man/man8 for i in gdisk cgdisk sgdisk fixparts; do install $i "$pkgdir"/usr/bin/ || return 1 install $i.8 "$pkgdir"/usr/share/man/man8/ || return 1 |