summaryrefslogtreecommitdiff
path: root/network/opera/opera.SlackBuild
diff options
context:
space:
mode:
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