aboutsummaryrefslogtreecommitdiffstats
path: root/main/tig/APKBUILD
blob: d24f3c1b4bccb7a428ce05d80c72ebab3cd99796 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=tig
pkgver=2.0.2
pkgrel=0
pkgdesc="Text-mode interface for the git revision control system"
url="http://jonas.nitro.dk/tig"
arch="all"
license="GPL2+"
depends="git"
depends_dev=""
makedepends="ncurses-dev xmlto asciidoc git libiconv-dev"
install=""
subpackages="$pkgname-doc"
source="http://jonas.nitro.dk/tig/releases/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		|| return 1
	make all doc-man || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install install-doc-man || return 1
	rm -f "$pkgdir"/usr/lib/*.la
}

md5sums="e10e925d73d32ff7e17352b79dbc16f9  tig-2.0.2.tar.gz"
sha256sums="b91cf0b3d044f643a1032c3a7c7cd855685bb8ead5f71f4703eb0c19238e273e  tig-2.0.2.tar.gz"
sha512sums="90364e76e4afdc8a78f770452133ae8e4c3ecf3157ae26583f596a201bd0dd5c15c8ab1fddb46b221487954fbf53af6c4ae7a47600d22d6120c713f9d8d082b9  tig-2.0.2.tar.gz"