void-packages/srcpkgs/entr/template
2015-12-13 10:33:45 +01:00

23 lines
647 B
Bash

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