summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-07-09 17:50:42 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-07-12 10:40:34 +0700
commita25b3b19793c955a3f5a2645bbeca97536b69e78 (patch)
tree5e7415e461b0fc2dbf510c0461138105c8d3d3f2
parent0ae150d3cd8ef246732c2a16506c1da108e05c82 (diff)
downloadslackbuilds-a25b3b19793c955a3f5a2645bbeca97536b69e78.tar.gz
network/otter: Updated for version 0.9.06.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--network/otter/otter.SlackBuild14
-rw-r--r--network/otter/otter.info6
2 files changed, 13 insertions, 7 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
diff --git a/network/otter/otter.info b/network/otter/otter.info
index 49c3ac7b5c..92284bb0c9 100644
--- a/network/otter/otter.info
+++ b/network/otter/otter.info
@@ -1,8 +1,8 @@
PRGNAM="otter"
-VERSION="0.9.04"
+VERSION="0.9.06"
HOMEPAGE="http://otter-browser.org/"
-DOWNLOAD="http://downloads.sourceforge.net/project/otter-browser/otter-browser-beta4/otter-browser-0.9.04.tar.bz2"
-MD5SUM="69a22c896e9b540d5ee9892b242962cf"
+DOWNLOAD="https://github.com/OtterBrowser/otter-browser/archive/v0.9.06.tar.gz"
+MD5SUM="8c13ed4c4080923903f3ffe240264e5b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="qt5"