Commit c082df1c authored by Natanael Copa's avatar Natanael Copa

main/gptfdisk: split out sgdisk to subpackage

parent 4a375d7b
# 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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment