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 .
This commit is contained in:
mobinmob 2021-09-10 19:16:16 +03:00 committed by Andrew J. Hesford
parent 00c5c28598
commit beb2eb7c83
1 changed files with 5 additions and 4 deletions

View File

@ -1,18 +1,19 @@
# Template file for 'gptfdisk'
pkgname=gptfdisk
version=1.0.6
version=1.0.8
revision=1
build_style=gnu-makefile
makedepends="ncurses-devel popt-devel icu-devel libuuid-devel"
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=ddc551d643a53f0bd4440345d3ae32c49b04a797e9c01036ea460b6bb4168ca8
checksum=95d19856f004dabc4b8c342b2612e8d0a9eebdd52004297188369f152e9dc6df
pre_build() {
sed -i 's#<ncursesw/ncurses.h>#<ncurses.h>#' gptcurses.cc
vsed -i 's#<ncursesw/ncurses.h>#<ncurses.h>#' gptcurses.cc
}
do_install() {