aboutsummaryrefslogtreecommitdiff
path: root/development/tig/tig.SlackBuild
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/tig/tig.SlackBuild
parenta5566f901aa15aa9505fd109f9468c9f02e990c6 (diff)
development/tig: Updated for version 0.16.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/tig/tig.SlackBuild')
-rw-r--r--development/tig/tig.SlackBuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/development/tig/tig.SlackBuild b/development/tig/tig.SlackBuild
index 2c4ac68f6c220..f84efdd355585 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