void-packages/srcpkgs/entr/template
2017-03-01 11:20:21 +01:00

23 lines
647 B
Bash

# Template file for 'entr'
pkgname=entr
version=3.7
revision=1
build_style=gnu-makefile
short_desc="A utility for running arbitrary commands when files change"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="ISC"
homepage="http://entrproject.org"
distfiles="$homepage/code/$pkgname-$version.tar.gz"
checksum=94efd50c8f7e9d569060d5deebf366c3565e81e814ab332b973d7298fa8ea22f
post_extract() {
mv ${XBPS_BUILDDIR}/eradman-entr-* $wrksrc
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
}