# Contributor: Stuart Cardall # Maintainer: Stuart Cardall pkgname=entr pkgver=4.0 pkgrel=0 pkgdesc="Event Notify Test Runner: Run arbitrary commands when files change" url="http://entrproject.org" arch="all" license="ISC BSD" subpackages="$pkgname-doc" makedepends="vim mercurial file util-linux" checkdepends="bash tmux" source="http://entrproject.org/code/$pkgname-$pkgver.tar.gz " builddir="$srcdir/eradman-$pkgname" unpack() { default_unpack # Top-level directory inside the tar archive contains SHA of a commit... mv "$srcdir"/eradman-$pkgname-* "$builddir" } build() { cd "$builddir" ./configure make } check() { cd "$builddir" make test # FIXME: The tmux invocation in the functional tests blocks the builders # make regress } package() { cd "$builddir" PREFIX="$pkgdir/usr" make install } sha512sums="d803c27441448374a866636e0e592a8395488e162e2e8c031aafec3457d10041dc52e10d06cc1e209cd86f69ca021171ef105056206b9afe603a89958eef2707 entr-4.0.tar.gz"