void-packages/srcpkgs/gptfdisk/template
mobinmob beb2eb7c83 gptfdisk: update to 1.0.8.
Also:
- remove icu-devel (no longer needed)
- add make_check_target=test to enable tests
- use vsed instead of sed.
All the improvements were contributed by @mtboehlke .
2021-09-13 09:33:54 -04:00

26 lines
689 B
Bash

# Template file for 'gptfdisk'
pkgname=gptfdisk
version=1.0.8
revision=1
build_style=gnu-makefile
make_check_target=test
makedepends="ncurses-devel popt-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=95d19856f004dabc4b8c342b2612e8d0a9eebdd52004297188369f152e9dc6df
pre_build() {
vsed -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
}