From 21096b3a7d1ca4a2fc59d154cf07a261209d5839 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sat, 8 Sep 2012 00:14:39 -0500 Subject: development/nvi: Updated copyright and miscellaneous cleanup Signed-off-by: Robby Workman --- development/nvi/nvi.SlackBuild | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) (limited to 'development') diff --git a/development/nvi/nvi.SlackBuild b/development/nvi/nvi.SlackBuild index e83d26b9f6..518b34077d 100644 --- a/development/nvi/nvi.SlackBuild +++ b/development/nvi/nvi.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for nvi -# Copyright 2008-2011 Robby Workman Northport, Alabama (USA) +# Copyright 2008-2012 Robby Workman Northport, Alabama (USA) # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=nvi -VERSION=1.81.6 +VERSION=${VERSION:-1.81.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -87,25 +87,21 @@ cd build.unix --build=$ARCH-slackware-linux make make install DESTDIR=$PKG -cd - +cd .. # These are better as softlinks instead of hardlinks -cd $PKG/usr/man/man1 - rm nex.1 nview.1 - ln -s nvi.1 nex.1 - ln -s nvi.1 nview.1 -cd - +rm -f $PKG/usr/man/man1/{nex,nview}.1 +ln -s nvi.1 $PKG/usr/man/man1/nex.1 +ln -s nvi.1 $PKG/usr/man/man1/nview.1 -cd $PKG/usr/man - rm -rf cat* - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -cd - +rm -rf $PKG/usr/man/cat* +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 \ Changes LICENSE README* TODO docs/html \ - $PKG/usr/doc/$PRGNAM-$VERSION + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -- cgit v1.2.3