27 lines
689 B
Bash
27 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
|
|
}
|