void-packages/srcpkgs/gptfdisk/template

26 lines
675 B
Bash

# Template file for 'gptfdisk'
pkgname=gptfdisk
version=1.0.6
revision=1
build_style=gnu-makefile
makedepends="ncurses-devel popt-devel icu-devel libuuid-devel"
short_desc="GPT fdisk text-mode partitioning tool"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.rodsbooks.com/gdisk/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=ddc551d643a53f0bd4440345d3ae32c49b04a797e9c01036ea460b6bb4168ca8
pre_build() {
sed -i 's#<ncursesw/ncurses.h>#<ncurses.h>#' gptcurses.cc
}
do_install() {
for f in cgdisk gdisk sgdisk fixparts; do
vbin ${f}
if [ -r "${f}.8" ]; then
vman ${f}.8
fi
done
}