blob: 7e1002179a7c2754d49913ef98c1bc5a2a84b90f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
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"
|