27 lines
690 B
Bash
27 lines
690 B
Bash
# Template file for 'gptfdisk'
|
|
pkgname=gptfdisk
|
|
version=1.0.9
|
|
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=dafead2693faeb8e8b97832b23407f6ed5b3219bc1784f482dd855774e2d50c2
|
|
|
|
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
|
|
}
|