aboutsummaryrefslogtreecommitdiffstats
path: root/testing/got/APKBUILD
blob: 87b7bd421a247f1dab5675dcf45d2e5cbd307a0b (plain) (blame)
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
# Contributor: omni <omni+alpine@hack.org>
# Maintainer: omni <omni+alpine@hack.org>
pkgname=got
_pkgname=got-portable
pkgver=0.73
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 util-linux-dev libressl-dev zlib-dev ncurses-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="
5cc4dde718910d5b44e238759673ede1b8f6630f801321ced0df0a4b8ff38afca1e77adb8c667f4c74f3e3c8949e460c089951380b54fd231e5b0c7aec03f36e  got-portable-0.73.tar.gz
"