diff options
Diffstat (limited to 'network/elinks/elinks.SlackBuild')
-rw-r--r-- | network/elinks/elinks.SlackBuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/network/elinks/elinks.SlackBuild b/network/elinks/elinks.SlackBuild index 8066623309..290eef7d3d 100644 --- a/network/elinks/elinks.SlackBuild +++ b/network/elinks/elinks.SlackBuild @@ -3,14 +3,16 @@ # Slackware build script for elinks # Written by Brian Muramatsu (brian@fhobia.org) -# Modified by the SlackBuilds.org project # Thanks to dadexter@sekurity.com for help with this. +# Modified by the SlackBuilds.org project + PRGNAM=elinks -VERSION=0.11.3 +VERSION=0.11.5 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -59,7 +61,6 @@ rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/man find $PKG/usr/doc -name "Makefile*" -exec rm -f {} \; find $PKG/usr/doc -type f -exec chmod 644 {} \; - # The locale.alias file is part of the glibc package; let's not clobber it rm -f $PKG/usr/share/locale/locale.alias @@ -71,12 +72,12 @@ cat $CWD/slack-desc > $PKG/install/slack-desc find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null ) -if [ -d $PKG/usr/man ]; then - ( cd $PKG/usr/man +# Move man pages to their proper location. +mv $PKG/usr/share/man $PKG/usr +( 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 - ) -fi +) cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz |