28 lines
738 B
Bash
28 lines
738 B
Bash
# Template file for 'entr'
|
|
pkgname=entr
|
|
version=5.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="https://eradman.com/entrproject/"
|
|
changelog="https://raw.githubusercontent.com/eradman/entr/master/NEWS"
|
|
distfiles="https://eradman.com/entrproject/code/entr-${version}.tar.gz"
|
|
checksum=491dded2cc3f1dcd8d26f496a4c7b3a996b91c7ab20883ca375037a398221f9e
|
|
|
|
post_extract() {
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) # No need for _LINUX_PORT compat.h and strlcpy.c
|
|
vsed -i $wrksrc/Makefile.linux -e "s;-D_LINUX_PORT;;"
|
|
esac
|
|
}
|
|
|
|
pre_build() {
|
|
cp Makefile.linux Makefile
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|