void-packages/srcpkgs/entr/template
2019-10-06 00:37:59 +02:00

26 lines
636 B
Bash

# Template file for 'entr'
pkgname=entr
version=4.3
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=b081c1dbdac7723e91f6d528a0d736f90cb2fb1458888aa3b446699d9d26235a
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
}