aboutsummaryrefslogtreecommitdiffstats
path: root/community/entr/APKBUILD
blob: 44068c79b9202227deddbc77e539e2b8e5c283c5 (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=3.9
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
}

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="e0d58b7f4dc20ba9cfb12a165172817dfd647e859e2133b01b59427f9bb9612ee5b8e8f6563f31cc15b57251e60b2cb639c764f65d6daeb4456ecbccc7b39c12  entr-3.9.tar.gz"