aboutsummaryrefslogtreecommitdiffstats
path: root/community/got/APKBUILD
blob: db284fd247ed1aeefae81d6cf7ed735791843b4c (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
# Contributor: omni <omni+alpine@hack.org>
# Maintainer: omni <omni+alpine@hack.org>
pkgname=got
_pkgname=got-portable
pkgver=0.100
pkgrel=0
pkgdesc="A VCS which prioritizes ease of use and simplicity over flexibility"
url="https://gameoftrees.org/"
arch="all"
license="ISC"
makedepends="
	libbsd-dev
	libevent-dev
	libretls-dev
	ncurses-dev
	util-linux-dev
	zlib-dev
	"
options="!check"
subpackages="$pkgname-doc"
source="https://gameoftrees.org/releases/portable/got-portable-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	./configure --prefix=/usr --exec_prefix=/usr --mandir=/usr/share/man \
		--sysconfdir=/etc --localstatedir=/var
	make
}

check() {
	make tests
}

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

sha512sums="
3b1024c04b0a501afef160cb18a4459185bbaf8af1f139b910334c94a5208e2802659c34c8b53d97799be530b83776783655296d20d1ed94e3073d6858ce374a  got-portable-0.100.tar.gz
"