void-packages/srcpkgs/entr/template
2017-09-19 10:28:22 +02:00

23 lines
644 B
Bash

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