# Contributor: Stuart Cardall # Maintainer: Stuart Cardall pkgname=entr pkgver=4.2 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="67fc4eea415a5deffb59b493f17aa577746217c2cda6b5645d22541be6cc10ed949bb6e37bd46bc6e5cfd951f7ff611eb927be6f5d43db381437d3d1eb6f7968 entr-4.2.tar.gz"