# Template file for 'f3' pkgname=f3 version=8.0 revision=1 build_style=gnu-makefile make_build_target="all extra" make_install_target="install install-extra" makedepends="eudev-libudev-devel libparted-devel" short_desc="Test real flash memory capacity" maintainer="0x5c " license="GPL-3.0-or-later" homepage="https://github.com/AltraMayor/f3" changelog="https://raw.githubusercontent.com/AltraMayor/f3/master/changelog" distfiles="https://github.com/AltraMayor/f3/archive/v${version}.tar.gz" checksum=fb5e0f3b0e0b0bff2089a4ea6af53278804dfe0b87992499131445732e311ab4 case "$XBPS_TARGET_MACHINE" in *-musl) makedepends+=" argp-standalone" LDFLAGS=" -largp" ;; esac post_extract() { vsed -e 's/^\(CFLAGS *+=\)/override \1/' -i Makefile }