void-packages/srcpkgs/entr/template
2020-02-15 15:20:30 +01:00

26 lines
636 B
Bash

# Template file for 'entr'
pkgname=entr
version=4.4
revision=1
build_style=gnu-makefile
short_desc="Utility for running arbitrary commands when files change"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="ISC"
homepage="http://entrproject.org"
distfiles="$homepage/code/$pkgname-$version.tar.gz"
checksum=54566c64f360afd43f6a6065bc6d849472337edf2189b1ce34bf15b611f350f4
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
}