void-packages/srcpkgs/gptfdisk/template

27 lines
691 B
Bash

# Template file for 'gptfdisk'
pkgname=gptfdisk
version=1.0.10
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="https://www.rodsbooks.com/gdisk/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=2abed61bc6d2b9ec498973c0440b8b804b7a72d7144069b5a9209b2ad693a282
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
}