summaryrefslogtreecommitdiff
path: root/network/opera-legacy/opera-legacy.SlackBuild
diff options
context:
space:
mode:
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 7092e11600..24d5218bf3 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 . \