# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=tig pkgver=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 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="adeb797a8320962eeb345a615257cbac tig-1.1.tar.gz"