# Template file for 'gptdisk'
pkgname=gptfdisk
version=0.8.5
revision=3
makedepends="ncurses-devel popt-devel icu-devel>=49 libuuid-devel"
short_desc="GPT fdisk text-mode partitioning tool"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.rodsbooks.com/gdisk/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=15cc691f28212c157e05315662ed6b76ffdcc8de6fc118fa21c81ef5aae84af9
long_desc="
 GPT fdisk (aka gdisk) is a text-mode partitioning tool for Intel-based Linux
 that works on Globally Unique Identifier (GUID) Partition Table (GPT) disks,
 rather than on the more common (through 2009) Master Boot Record (MBR)
 partition tables."

do_build() {
	make ${makejobs}
}

do_install() {
	for f in cgdisk gdisk sgdisk fixparts; do
		vinstall ${f} 755 usr/sbin
		[ ! -r "${f}.8" ] && continue
		vinstall ${f}.8 644 usr/share/man/man8
	done
}
