aboutsummaryrefslogtreecommitdiff
path: root/network/opera-legacy/opera-legacy.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-06-21 00:46:59 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-06-21 00:46:59 +0100
commit53a9ffab31f3474c02eb26febeca8b846e6245ab (patch)
treea41a80de972d0cfcb95dee8f1f61ec58a1402c3c /network/opera-legacy/opera-legacy.SlackBuild
parent66fbefcc2356ce766908d817cb0be9524110467a (diff)
network/opera-legacy: Updated for version 12.16.1860.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/opera-legacy/opera-legacy.SlackBuild')
-rw-r--r--network/opera-legacy/opera-legacy.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/network/opera-legacy/opera-legacy.SlackBuild b/network/opera-legacy/opera-legacy.SlackBuild
index 7092e1160086f..24d5218bf341d 100644
--- a/network/opera-legacy/opera-legacy.SlackBuild
+++ b/network/opera-legacy/opera-legacy.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for opera-legacy.
#
-# Copyright 2016 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2016-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=opera-legacy
-VERSION=${VERSION:-12.16}
-REVNO=${REVNO:-1860}
+VERSION=${VERSION:-12.16.1860}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,7 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-SRCNAM="opera"
+SRCNAM=${SRCNAM:-opera}
+SRCVER=${SRCVER:-12.16-1860}
set -e
@@ -59,9 +59,9 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-${VERSION}-${REVNO}.${OARCH}.linux
-tar xf $CWD/$SRCNAM-${VERSION}-${REVNO}.${OARCH}.linux.tar.xz
-mv $SRCNAM-${VERSION}-${REVNO}.${OARCH}.linux $PRGNAM-${VERSION}
+rm -rf $PRGNAM-${VERSION}
+tar xf $CWD/$SRCNAM-${SRCVER}.${OARCH}.linux.tar.xz
+mv $SRCNAM-${SRCVER}.${OARCH}.linux $PRGNAM-${VERSION}
cd $PRGNAM-${VERSION}
chown -R root:root .
find -L . \