# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=tig pkgver=2.1.1 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" 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 } md5sums="d6eb13d31319d57a3f726d8238f8ebc0 tig-2.1.1.tar.gz" sha256sums="50c5179fd564b829b6b2cec087e66f10cf8799601de19350df0772ae77e4852f tig-2.1.1.tar.gz" sha512sums="be55ece813e1af938e3c4d805d4f034e78f75c1fcda7f4b5bc02de8b228d6d76b9f4921f6dc079485b8c13a3acc5ea2d146a0c437d28add45d50137ae6545f10 tig-2.1.1.tar.gz"