development/tig: Updated for version 0.16.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Grigorios Bouzakis 2010-06-17 03:54:05 -05:00 committed by Robby Workman
parent a5566f901a
commit faa522370e
4 changed files with 13 additions and 15 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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"