void-packages/srcpkgs/entr/template

24 lines
647 B
Bash
Raw Normal View History

2015-08-02 23:05:21 +02:00
# Template file for 'entr'
pkgname=entr
2016-04-02 12:05:45 +02:00
version=3.5
2015-08-02 23:05:21 +02:00
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"
2016-04-02 12:05:45 +02:00
checksum=e3e455346bcaf1e9099547eb050fbf667a96610b34304e5513f90265a5976416
2015-08-02 23:05:21 +02:00
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
}