summaryrefslogtreecommitdiffstats
path: root/network/elinks/elinks.SlackBuild
diff options
context:
space:
mode:
author Brian Muramatsu <brian@fhobia.org>2010-05-11 22:25:13 +0200
committer Michiel van Wessem <michiel@slackbuilds.org>2010-05-11 22:25:13 +0200
commit7486f511ac77e7ba3992f9106431cf76132b279f (patch)
treed3484f653bd7b44078f83d5a99b6ab8ba349a979 /network/elinks/elinks.SlackBuild
parent4cd45d3379f3476aa40d36bae1398764a90e0b77 (diff)
downloadslackbuilds-7486f511ac77e7ba3992f9106431cf76132b279f.tar.gz
slackbuilds-7486f511ac77e7ba3992f9106431cf76132b279f.tar.xz
network/elinks: Updated for version 0.11.5
Diffstat (limited to 'network/elinks/elinks.SlackBuild')
-rw-r--r--network/elinks/elinks.SlackBuild15
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