aboutsummaryrefslogtreecommitdiffstats
path: root/main/tig/APKBUILD
blob: e350e9542cbf7e6e9c19a464a3089be6e318ff2c (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.3
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="cd78dacf91798b5e48269813d678ebd7  tig-2.0.3.tar.gz"
sha256sums="faac0fd80cb771cf34ae0aa9b2fedba1cc0f8aa70731d400661660c8d48f96c4  tig-2.0.3.tar.gz"
sha512sums="0d16c4ec68d7b846b8cb990756ff683584eaf7eea89f9853d3803c86ef7544e2b80e1376a0e441082d7d23a2496fb7bcf8b5d987fe026b3d85e777064351fa15  tig-2.0.3.tar.gz"