diff --git a/srcpkgs/incron/patches/aarch64.patch b/srcpkgs/incron/patches/aarch64.patch deleted file mode 100644 index ceb0a1d9c10..00000000000 --- a/srcpkgs/incron/patches/aarch64.patch +++ /dev/null @@ -1,11 +0,0 @@ -# taken from https://github.com/alpinelinux/aports/blob/master/community/incron/incron-aarch64.patch ---- inotify-cxx.h -+++ inotify-cxx.h -@@ -37,7 +37,7 @@ - #include - - // Use this if syscalls not defined --#ifndef __NR_inotify_init -+#if not defined(__NR_inotify_init) && not defined(__aarch64__) - #include -#endif // __NR_inotify_init diff --git a/srcpkgs/incron/template b/srcpkgs/incron/template index 979a8f3a2f5..4bb9549b003 100644 --- a/srcpkgs/incron/template +++ b/srcpkgs/incron/template @@ -1,15 +1,16 @@ # Template file for 'incron' pkgname=incron -version=0.5.10 -revision=5 -make_dirs="/var/spool/incron 0755 root root - /etc/incron.d 0755 root root" +version=0.5.12 +revision=1 short_desc="A daemon that executes commands due to inotify events" maintainer="allan " license="X11" -homepage="http://inotify.aiken.cz" -distfiles="http://inotify.aiken.cz/download/incron/incron-${version}.tar.gz" -checksum=5d4abadb5f16c26e4f728a6433ad22f7655663b5812fbd4f94e852050f38e78a +homepage="https://github.com/ar-/incron" +distfiles="https://github.com/ar-/incron/archive/${version}.tar.gz" +checksum=cce80bd723bafce59f35464f2f851d02707e32efa102e2b941ed0e42bdd38f91 + +make_dirs="/var/spool/incron 0755 root root + /etc/incron.d 0755 root root" case "$XBPS_TARGET_MACHINE" in *-musl) makedepends="argp-standalone";; @@ -23,8 +24,12 @@ do_build() { sed -i 's|strchr(s,|(char*)strchr(s,|' incroncfg.cpp make CC=$CC ${makejobs} } + do_install() { make PREFIX=/usr DESTDIR=${DESTDIR} install vsv incron vlicense LICENSE-X11 + + # thefuck? + rm ${DESTDIR}/etc/init }