From 14cc1b8e883e5144adb89cefd4b9046238be69c5 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 30 Apr 2014 19:21:13 +0000
Subject: tig: update to 2.0.1

---
 abs/extra/community/tig/PKGBUILD | 30 ------------------------------
 abs/extra/tig/PKGBUILD           | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 30 deletions(-)
 delete mode 100644 abs/extra/community/tig/PKGBUILD
 create mode 100644 abs/extra/tig/PKGBUILD

diff --git a/abs/extra/community/tig/PKGBUILD b/abs/extra/community/tig/PKGBUILD
deleted file mode 100644
index ccba8c3..0000000
--- a/abs/extra/community/tig/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# 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=1.2
-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=('9821525564aa3f4aa51ad2b6c11b3a91')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  make DESTDIR="$pkgdir" install install-doc-man
-  install -Dm0644 contrib/tigrc "$pkgdir/etc/tigrc.sample"
-  install -Dm0644 contrib/tig-completion.bash "$pkgdir/usr/share/bash-completion/completions/tig"
-}
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"
+}
-- 
cgit v0.12

