diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2016-11-07 07:06:44 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-11-07 07:16:33 +0700 |
commit | cb2e6dfed259f9510dd69d88789c1d0686d262eb (patch) | |
tree | 504b0735b8e9d4b3bfd587b807fb9e42d67b1881 | |
parent | cec0a552cbb6eff31d0055b6c0a0301600c5e160 (diff) |
network/opera: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | network/opera/default | 4 | ||||
-rw-r--r-- | network/opera/opera | 19 | ||||
-rw-r--r-- | network/opera/opera.SlackBuild | 8 |
3 files changed, 1 insertions, 30 deletions
diff --git a/network/opera/default b/network/opera/default deleted file mode 100644 index 380d9ccee9094..0000000000000 --- a/network/opera/default +++ /dev/null @@ -1,4 +0,0 @@ -# Default settings for chromium. This file is sourced by /usr/bin/chromium - -# Options to pass to chromium -OPERA_FLAGS="" diff --git a/network/opera/opera b/network/opera/opera deleted file mode 100644 index e9035deb3c2e8..0000000000000 --- a/network/opera/opera +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -# Allow users to override command-line options -# Based on Gentoo's chromium package (and by extension, Debian's) - -if [[ -f /etc/opera/default ]]; then - . /etc/opera/default -fi - -# Prefer user defined CHROMIUM_USER_FLAGS (from env) over system -# default CHROMIUM_FLAGS (from /etc/chromium/default) - -OPERA_FLAGS=${OPERA_USER_FLAGS:-$OPERA_FLAGS} - -if [ "$ARCH" = "x86_64" ]; then - exec /usr/lib64/opera/opera $OPERA_FLAGS "$@" -else - exec /usr/lib/opera/opera $OPERA_FLAGS "$@" -fi diff --git a/network/opera/opera.SlackBuild b/network/opera/opera.SlackBuild index d7d717d30d06a..2a300ab3f432e 100644 --- a/network/opera/opera.SlackBuild +++ b/network/opera/opera.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=opera VERSION=${VERSION:-41.0.2353.46} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -90,12 +90,6 @@ elif [ "$ARCH" = "x86_64" ]; then chmod 4755 "$PKG/usr/lib64/$PRGNAM/opera_sandbox" fi -mkdir -p $PKG/etc/$PRGNAM/ -install -Dm644 $CWD/default $PKG/etc/$PRGNAM/default - -rm $PKG/usr/bin/$PRGNAM -install -Dm755 $CWD/$PRGNAM $PKG/usr/bin/$PRGNAM - mv $PKG/usr/share/doc $PKG/usr/ mv $PKG/usr/doc/$PRGNAM-stable $PKG/usr/doc/${PRGNAM}-$VERSION cd $PKG/usr/doc/${PRGNAM}-$VERSION/ |