# Template file for 'f3' pkgname=f3 version=9.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=569ec069dc3ec1c74d90d6704aa8b7f45240f5998a9dc6f14f1736c917506ecb case "$XBPS_TARGET_MACHINE" in *-musl) makedepends+=" argp-standalone" LDFLAGS=" -largp" ;; esac post_extract() { vsed -e 's/^\(CFLAGS *+=\)/override \1/' -i Makefile }