aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorGrigorios Bouzakis <grbzks@xsmail.com>2010-06-17 03:54:05 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-17 14:43:57 -0500
commitfaa522370e0ec80489e9017e296890ecb573d3e2 (patch)
treee5ea2c5ec06ab93f019cf1909d713be77be806f9 /development
parenta5566f901aa15aa9505fd109f9468c9f02e990c6 (diff)
development/tig: Updated for version 0.16.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/tig/doinst.sh2
-rw-r--r--development/tig/slack-desc4
-rw-r--r--development/tig/tig.SlackBuild16
-rw-r--r--development/tig/tig.info6
4 files changed, 13 insertions, 15 deletions
diff --git a/development/tig/doinst.sh b/development/tig/doinst.sh
index bcd4e39990dd..3425313d40b3 100644
--- a/development/tig/doinst.sh
+++ b/development/tig/doinst.sh
@@ -4,7 +4,7 @@ config() {
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
- elif [ "$(cat $OLD|md5sum)" = "$(cat $NEW|md5sum)" ]; then
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
# toss the redundant copy
rm $NEW
fi
diff --git a/development/tig/slack-desc b/development/tig/slack-desc
index aa7546a0e43f..73dffd58e132 100644
--- a/development/tig/slack-desc
+++ b/development/tig/slack-desc
@@ -5,9 +5,9 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler-----------------------------------------------------------|
+ |-----handy-ruler----------------------------------------------------------|
tig: tig (ncurses interface for git)
-tig:
+tig:
tig: tig is a git repository browser that additionally can act as a pager
tig: for output from various git commands.
tig: When browsing repositories, it uses the underlying git commands to
diff --git a/development/tig/tig.SlackBuild b/development/tig/tig.SlackBuild
index 2c4ac68f6c22..f84efdd35558 100644
--- a/development/tig/tig.SlackBuild
+++ b/development/tig/tig.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for tig
-# Copyright 2008-2009 Grigorios Bouzakis <grbzks@xsmail.com>
+# Copyright 2008-2010 Grigorios Bouzakis <grbzks@xsmail.com>
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
@@ -20,16 +20,14 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tig
-VERSION=${VERSION:-0.15}
+VERSION=${VERSION:-0.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -82,18 +80,18 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install install-doc DESTDIR=$PKG
+make install install-doc-man DESTDIR=$PKG
mkdir -p $PKG/etc
cat contrib/tigrc > $PKG/etc/tigrc.new
+mkdir -p $PKG/etc/bash_completion.d
+cat contrib/tig-completion.bash > $PKG/etc/bash_completion.d/tig
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/development/tig/tig.info b/development/tig/tig.info
index 24517c536ac4..6137cd1209cc 100644
--- a/development/tig/tig.info
+++ b/development/tig/tig.info
@@ -1,8 +1,8 @@
PRGNAM="tig"
-VERSION="0.15"
+VERSION="0.16"
HOMEPAGE="http://jonas.nitro.dk/tig/"
-DOWNLOAD="http://jonas.nitro.dk/tig/releases/tig-0.15.tar.gz"
-MD5SUM="8f373a99823f6db241b66642075657d3"
+DOWNLOAD="http://jonas.nitro.dk/tig/releases/tig-0.16.tar.gz"
+MD5SUM="684572d93033d6cbfc5ee71cffe02935"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Grigorios Bouzakis"