# Template file for 'entr' pkgname=entr version=4.7 revision=1 build_style=gnu-makefile short_desc="Utility for running arbitrary commands when files change" maintainer="Andrea Brancaleoni " license="ISC" homepage="http://entrproject.org" distfiles="$homepage/code/$pkgname-$version.tar.gz" checksum=b6c1ab7644d83bb2a269dc74160867a3be0f5df116c7eb453c25053173534429 post_extract() { case "$XBPS_TARGET_MACHINE" in *-musl) # No need for _LINUX_PORT compat.h and strlcpy.c sed -i $wrksrc/Makefile.linux -e "s;-D_LINUX_PORT;;" esac } pre_build() { cp Makefile.linux Makefile } post_install() { vlicense LICENSE }