# Contributor: Stuart Cardall # Maintainer: Stuart Cardall pkgname=entr pkgver=3.8 pkgrel=1 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 } package() { cd "$builddir" PREFIX="$pkgdir/usr" make install } check() { cd "$builddir" make test # FIXME: The tmux invocation in the functional tests blocks the builders # make regress } sha512sums="8530a40eefc78571f3a2ab09f63d25d880167ec2d76e0c32fb25dce40e22b3f9f3b5f27874c1b95480206628e314298f001a4c0b487485ac88f2996002b41a2a entr-3.8.tar.gz"