upgpkg: ufw 0.36.2-1
[ArchLinux/community.git] / tig / trunk / PKGBUILD
blob909bf8ae1a20efb01e56a2737fc87cdbe3e763d9
1 # Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
2 # Contributor: Loui Chang <louipc dot ist at gmail company>
3 # Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
4 # Contributor: Nathan Jones <nathanj@insightbb.com>
6 pkgname=tig
7 pkgver=2.5.8
8 pkgrel=1
9 pkgdesc='Text-mode interface for Git.'
10 depends=('git' 'ncurses')
11 makedepends=('asciidoc' 'xmlto')
12 url='https://jonas.github.io/tig/'
13 license=('GPL')
14 arch=('x86_64')
15 backup=('etc/tigrc')
16 source=("https://github.com/jonas/$pkgname/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz")
17 md5sums=('a91a2ff16778fe173ddf94a92f3c3a0e')
18 sha256sums=('b70e0a42aed74a4a3990ccfe35262305917175e3164330c0889bd70580406391')
20 build() {
21   cd "$srcdir/$pkgname-$pkgver"
23   ./configure \
24     --prefix=/usr \
25     --sysconfdir=/etc
26   make
29 package() {
30   cd "$srcdir/$pkgname-$pkgver"
32   make DESTDIR="$pkgdir" install install-doc-man
34   install -Dm0644 contrib/tig-completion.bash "$pkgdir/usr/share/bash-completion/completions/tig"