diff --git a/srcpkgs/halfempty/template b/srcpkgs/halfempty/template new file mode 100644 index 00000000000..890765f3c7a --- /dev/null +++ b/srcpkgs/halfempty/template @@ -0,0 +1,22 @@ +# Template file for 'halfempty' +pkgname=halfempty +version=0.30 +revision=1 +build_style=gnu-makefile +hostmakedepends="pkg-config" +makedepends="libglib-devel" +short_desc="Fast, Parallel Testcase Minimization" +maintainer="Leah Neukirchen " +license="Apache-2.0" +homepage="https://github.com/googleprojectzero/halfempty/" +distfiles="https://github.com/googleprojectzero/halfempty/archive/v${version}.tar.gz" +checksum=08d1a16838977c3100cc747154e6838c7212d2cc131807197ee2e9488bba7205 + +case "$XBPS_TARGET_MACHINE" in +*-musl) + CFLAGS+='-DRLIMIT_RTTIME=15' +esac + +do_install() { + vbin halfempty +}