diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2015-07-09 17:50:42 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-07-12 10:40:34 +0700 |
commit | a25b3b19793c955a3f5a2645bbeca97536b69e78 (patch) | |
tree | 5e7415e461b0fc2dbf510c0461138105c8d3d3f2 /network/otter/otter.SlackBuild | |
parent | 0ae150d3cd8ef246732c2a16506c1da108e05c82 (diff) |
network/otter: Updated for version 0.9.06.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
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 3ff0df1ed97b1..0e65bd177381d 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 |