mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
development/nvi: Updated copyright and miscellaneous cleanup
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
cfeee9b6bd
commit
21096b3a7d
1 changed files with 10 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue