summaryrefslogtreecommitdiffstats
path: root/abs/extra/tig/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-04-30 19:21:13 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-04-30 19:21:13 (GMT)
commit14cc1b8e883e5144adb89cefd4b9046238be69c5 (patch)
tree96e12d4436f283f2d509a56a747a22dbfc6c01b6 /abs/extra/tig/PKGBUILD
parent8c7fee681c71d3b12e28c48df23cd68edaf44d3d (diff)
downloadlinhes_pkgbuild-14cc1b8e883e5144adb89cefd4b9046238be69c5.zip
linhes_pkgbuild-14cc1b8e883e5144adb89cefd4b9046238be69c5.tar.gz
linhes_pkgbuild-14cc1b8e883e5144adb89cefd4b9046238be69c5.tar.bz2
tig: update to 2.0.1
Diffstat (limited to 'abs/extra/tig/PKGBUILD')
-rw-r--r--abs/extra/tig/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/extra/tig/PKGBUILD b/abs/extra/tig/PKGBUILD
new file mode 100644
index 0000000..edc023b
--- /dev/null
+++ b/abs/extra/tig/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: Loui Chang <louipc dot ist at gmail company>
+# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
+# Contributor: Nathan Jones <nathanj@insightbb.com>
+
+pkgname=tig
+pkgver=2.0.1
+pkgrel=1
+pkgdesc='Text-mode interface for Git.'
+depends=('git' 'ncurses')
+makedepends=('asciidoc' 'xmlto')
+url='http://jonas.nitro.dk/tig/'
+license=('GPL')
+arch=('i686' 'x86_64')
+backup=('etc/tigrc')
+source=("http://jonas.nitro.dk/${pkgname}/releases/${pkgname}-${pkgver}.tar.gz")
+md5sums=('e0b3bc47b8c2c1e556ae953c0b30faab')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install install-doc-man
+
+ install -Dm0644 contrib/tig-completion.bash "$pkgdir/usr/share/bash-completion/completions/tig"
+}