# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=tig pkgver=2.3.0 pkgrel=0 pkgdesc="Text-mode interface for the git revision control system" url="http://jonas.nitro.dk/tig" arch="all" license="GPL2+" depends="git" makedepends="ncurses-dev xmlto asciidoc git" subpackages="$pkgname-doc" source="https://github.com/jonas/tig/releases/download/tig-$pkgver/tig-$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 make all doc-man } package() { cd "$builddir" make DESTDIR="$pkgdir" install install-doc-man } sha512sums="d5e8bf04689fdbeab4f2ee60eef1e8e7686827228dc2f87b20c40a3a1c31aa3476d5088423ba8bcb72616a9f0f211a2dbb631a72cc946553e41cb225ea60ab37 tig-2.3.0.tar.gz"