Merge pull request #2359 from steski/incron

incron: fix musl
This commit is contained in:
Jürgen Buchmüller 2015-08-25 01:21:56 +02:00
commit 48a5fe874f

View file

@ -1,7 +1,7 @@
# Template file for 'incron'
pkgname=incron
version=0.5.10
revision=2
revision=3
make_dirs="/var/spool/incron 0755 root root
/etc/incron.d 0755 root root"
short_desc="A daemon that executes commands due to inotify events"
@ -11,6 +11,10 @@ homepage="http://inotify.aiken.cz"
distfiles="http://inotify.aiken.cz/download/incron/incron-${version}.tar.gz"
checksum=5d4abadb5f16c26e4f728a6433ad22f7655663b5812fbd4f94e852050f38e78a
case "$XBPS_ARCH" in
*-musl) makedepends="argp-standalone"
esac
do_build() {
sed -i 's,sbin,bin,g' Makefile
sed -i '1,1i#include <unistd.h>' inotify-cxx.cpp icd-main.cpp