summaryrefslogtreecommitdiff
path: root/community/tig/PKGBUILD
blob: 853711c13fac6599667096ba922d5d618f2112f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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.17
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")

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
}
md5sums=('f373343199422c59518776db448dec0e')