# Contributor: Stuart Cardall # Maintainer: Stuart Cardall pkgname="inotify-tools-inc" _realname="${pkgname%*-inc}" pkgver=3.14 pkgrel=1 pkgdesc="inotify-tools patched to add --include regex" url="https://github.com/rvoicilas/inotify-tools" arch="all" license="GPL2" depends="!inotify-tools" subpackages="$pkgname-dev $pkgname-doc" source="https://github.com/downloads/rvoicilas/$_realname/$_realname-$pkgver.tar.gz add-include-regex.patch " builddir="$srcdir"/$_realname-$pkgver prepare() { default_prepare || return 1 update_config_guess || return 1 } build() { cd "$builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ || return 1 make || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 # post-install message mkdir -p "$pkgdir/usr/share/doc/$pkgname" cat > $pkgdir/usr/share/doc/$pkgname/example.sh <