summaryrefslogtreecommitdiff
path: root/network/opera/opera.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-06-27 02:45:44 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-28 01:56:47 +0700
commitb37b7fb9305cd99c9f318c64e7f2cc52ea6802d7 (patch)
tree2af5bf46efe8f01127335bf88f4217185373d6b6 /network/opera/opera.SlackBuild
parent1df5eeecd4fca49836fb7276c45179bc612c0b21 (diff)
downloadslackbuilds-b37b7fb9305cd99c9f318c64e7f2cc52ea6802d7.tar.gz
network/opera: Updated for version 46.0.2597.26.
Upstream dropped x86 support. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/opera/opera.SlackBuild')
-rw-r--r--network/opera/opera.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/network/opera/opera.SlackBuild b/network/opera/opera.SlackBuild
index cffe6ad6bd..dd6d4c8938 100644
--- a/network/opera/opera.SlackBuild
+++ b/network/opera/opera.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=opera
-VERSION=${VERSION:-45.0.2552.898}
+VERSION=${VERSION:-46.0.2597.26}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -48,17 +48,21 @@ if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
BITS="i386"
+ echo "This package is currently only available for 64bit."
+ exit 1
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
BITS="i386"
+ echo "This package is currently only available for 64bit."
+ exit 1
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
BITS="amd64"
else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
+ echo "Package for $(uname -m) architecture is not available."
+ exit 1
fi
rm -rf $PKG