summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bca226068fe6d019a477dbef0194a92c1eca168d (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
# Maintainer: Adrian Perez de Castro <aperez@igalia.com>

pkgname=gameoftrees
pkgver=0.91
pkgrel=1
pkgdesc='A version control system which prioritizes ease of use and simplicity over flexibility'
arch=(x86_64)
url="https://gameoftrees.org"
license=(custom:ISC)
conflicts=(gameoftrees-git got got-git got-bin)
depends=(ncurses util-linux-libs libbsd libevent)
makedepends=(pkgconf git)
source=("$pkgname::git+https://repo.or.cz/got-portable.git#tag=$pkgver")
b2sums=(SKIP)

build () {
	cd "$pkgname"
	autoreconf -f -i -v
	./configure --prefix=/usr --sbindir=/usr/bin --libexecdir=/usr/lib/$pkgname
	make
}

check () {
	msg2 'TODO: Investigate why tests fail to run'
	return 0

	cd "$pkgname"
	make tests
}

package () {
	make -C "$pkgname" DESTDIR="$pkgdir" install
}