summaryrefslogtreecommitdiff
path: root/network/otter/otter.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-01-02 13:34:56 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-02 13:34:56 +0700
commita3f315595ab14ea4b590404623ae2516200ede20 (patch)
tree0dbae1d93d79d99c066a559d66d23a0ce70824a0 /network/otter/otter.SlackBuild
parentfa9a40e27543f277a83681f073332edb7bece0b3 (diff)
downloadslackbuilds-a3f315595ab14ea4b590404623ae2516200ede20.tar.gz
network/otter: Updated for version 0.9.04.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/otter/otter.SlackBuild')
-rw-r--r--network/otter/otter.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/network/otter/otter.SlackBuild b/network/otter/otter.SlackBuild
index 29db92b6eb..3ff0df1ed9 100644
--- a/network/otter/otter.SlackBuild
+++ b/network/otter/otter.SlackBuild
@@ -22,8 +22,9 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=otter
-VERSION=${VERSION:-0.9.02}
+SRCNAM=otter-browser
+PRGNAM=$(echo $SRCNAM | cut -c1-5)
+VERSION=${VERSION:-0.9.04}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \