diff options
Diffstat (limited to 'abs/extra')
-rw-r--r-- | abs/extra/community/tig/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/abs/extra/community/tig/PKGBUILD b/abs/extra/community/tig/PKGBUILD new file mode 100644 index 0000000..87e5e4d --- /dev/null +++ b/abs/extra/community/tig/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Loui Chang <louipc dot ist at gmail company> +# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr> +# Contributor: Nathan Jones <nathanj@insightbb.com> + +pkgname=tig +pkgver=0.18 +pkgrel=1 +pkgdesc="Text-mode interface for git" +depends=('git' 'ncurses') +url="http://jonas.nitro.dk/tig/" +license=('GPL') +arch=('i686' 'x86_64') +source=("http://jonas.nitro.dk/${pkgname}/releases/${pkgname}-${pkgver}.tar.gz") +md5sums=('4fa9e33c5daa76b6fed11e068405356f') + +build() { + cd "$srcdir"/$pkgname-$pkgver + + ./configure --prefix=/usr +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install install-doc-man + install -D -m644 contrib/tigrc "$pkgdir"/etc/tigrc.sample + install -D -m644 contrib/tig-completion.bash "$pkgdir"/etc/bash_completion.d/tig +} |