void-packages/srcpkgs/entr/template
2018-02-03 15:57:16 +01:00

27 lines
682 B
Bash

# Template file for 'entr'
pkgname=entr
version=4.0
revision=1
build_style=gnu-makefile
short_desc="A 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=4ad4fe9108b179199951cfc78a581a8a69602b073dae59bcae4b810f6e1f6c8b
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
}
post_install() {
vlicense LICENSE
}