aboutsummaryrefslogtreecommitdiffstats
path: root/main/gptfdisk
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-05-24 08:23:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-05-24 08:24:23 +0000
commitc082df1ccf00c9ba1e981ffbc99d5b3739961dec (patch)
tree17a6d0fb8a839cb1197c19c4f38189baaf3d37bf /main/gptfdisk
parent4a375d7bdfefbb4aedcd632504d5485a072e9181 (diff)
downloadaports-c082df1ccf00c9ba1e981ffbc99d5b3739961dec.tar.bz2
aports-c082df1ccf00c9ba1e981ffbc99d5b3739961dec.tar.xz
main/gptfdisk: split out sgdisk to subpackage
Diffstat (limited to 'main/gptfdisk')
-rw-r--r--main/gptfdisk/APKBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/main/gptfdisk/APKBUILD b/main/gptfdisk/APKBUILD
index 352c1962c4..4073b8f272 100644
--- a/main/gptfdisk/APKBUILD
+++ b/main/gptfdisk/APKBUILD
@@ -1,13 +1,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gptfdisk
pkgver=1.0.1
-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"
+subpackages="$pkgname-doc sgdisk"
source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/gptfdisk-$pkgver
@@ -26,6 +26,12 @@ package () {
done
}
+sgdisk() {
+ pkgdesc="Command-line GUID partition table (GPT) manipulator"
+ mkdir -p "$subpkgdir"/usr/bin
+ mv "$pkgdir"/usr/bin/sgdisk "$subpkgdir"/usr/bin/
+}
+
md5sums="d7f3d306b083123bcc6f5941efade586 gptfdisk-1.0.1.tar.gz"
sha256sums="864c8aee2efdda50346804d7e6230407d5f42a8ae754df70404dd8b2fdfaeac7 gptfdisk-1.0.1.tar.gz"
sha512sums="6aa2ed6213183ea38ce7dd6e7f4f23b88cc56bed5a4d078f563b9e0a3c276eacf869e28a27ccb4e473753f7bced7ecb5de4535626f9ed22b7a59a39906d0419c gptfdisk-1.0.1.tar.gz"