28 lines
707 B
Bash
28 lines
707 B
Bash
# Template file for 'entr'
|
|
pkgname=entr
|
|
version=5.1
|
|
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"
|
|
changelog="https://raw.githubusercontent.com/eradman/entr/master/NEWS"
|
|
distfiles="$homepage/code/$pkgname-$version.tar.gz"
|
|
checksum=0f87f577bce87641c525addb9bcc60bbaa579fe981dab759043e3ce1556dbb92
|
|
|
|
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
|
|
}
|