void-packages/srcpkgs/gptfdisk/template
2020-02-20 20:47:30 +01:00

25 lines
675 B
Bash

# Template file for 'gptfdisk'
pkgname=gptfdisk
version=1.0.5
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=0e7d3987cd0488ecaf4b48761bc97f40b1dc089e5ff53c4b37abe30bc67dcb2f
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
}