summaryrefslogtreecommitdiff
path: root/network/elinks/elinks.SlackBuild
diff options
context:
space:
mode:
authorBrian Muramatsu <btmura@gmail.com>2010-05-12 17:43:14 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:43:14 +0200
commit55d2cb1f1b2727fb8a9a060edbffadb1bdbfe067 (patch)
treeea8af5061e10a06dda649f01ab39a366ff4629b0 /network/elinks/elinks.SlackBuild
parenta7286f0e764a086bb97701cb4c250109e7c09ab8 (diff)
downloadslackbuilds-55d2cb1f1b2727fb8a9a060edbffadb1bdbfe067.tar.gz
network/elinks: Updated for version 0.11.5
Diffstat (limited to 'network/elinks/elinks.SlackBuild')
-rw-r--r--network/elinks/elinks.SlackBuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/network/elinks/elinks.SlackBuild b/network/elinks/elinks.SlackBuild
index 290eef7d3d..019021da0c 100644
--- a/network/elinks/elinks.SlackBuild
+++ b/network/elinks/elinks.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for elinks
-# Written by Brian Muramatsu (brian@fhobia.org)
+# Written by Brian Muramatsu (btmura@gmail.com)
# Thanks to dadexter@sekurity.com for help with this.
# Modified by the SlackBuilds.org project
@@ -10,7 +10,7 @@
PRGNAM=elinks
VERSION=0.11.5
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -30,7 +30,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
-tar xvjf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -56,8 +56,8 @@ make install DESTDIR=$PKG || exit 1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README SITES \
- THANKS TODO doc/* $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/man
+ THANKS TODO doc $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/doc/man
find $PKG/usr/doc -name "Makefile*" -exec rm -f {} \;
find $PKG/usr/doc -type f -exec chmod 644 {} \;
@@ -68,8 +68,10 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
# Move man pages to their proper location.