diff options
Diffstat (limited to 'main')
-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 |