From cb2e6dfed259f9510dd69d88789c1d0686d262eb Mon Sep 17 00:00:00 2001 From: "Edinaldo P. Silva" Date: Mon, 7 Nov 2016 07:06:44 +0700 Subject: network/opera: Fix build. Signed-off-by: Willy Sudiarto Raharjo --- network/opera/default | 4 ---- network/opera/opera | 19 ------------------- network/opera/opera.SlackBuild | 8 +------- 3 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 network/opera/default delete mode 100644 network/opera/opera 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/ -- cgit v1.2.3