diff options
Diffstat (limited to 'network/otter/otter.SlackBuild')
-rw-r--r-- | network/otter/otter.SlackBuild | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/network/otter/otter.SlackBuild b/network/otter/otter.SlackBuild index 3ff0df1ed9..0e65bd1773 100644 --- a/network/otter/otter.SlackBuild +++ b/network/otter/otter.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for otter -# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada +# Copyright 2014-2015 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ SRCNAM=otter-browser PRGNAM=$(echo $SRCNAM | cut -c1-5) -VERSION=${VERSION:-0.9.04} +VERSION=${VERSION:-0.9.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -61,7 +61,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2 +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . find -L . \ @@ -84,8 +84,14 @@ cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +mkdir -p $PKG/usr/man/man1 +mv $PKG/usr/share/man/man1 $PKG/usr/man +rm -rf $PKG/usr/share/man + +find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGELOG COPYING HACKING README.md TODO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG COPYING README.md TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |