aboutsummaryrefslogtreecommitdiff
path: root/network/opera-developer
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2016-11-07 07:17:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-07 07:17:20 +0700
commit9b94070c8646f38fceafe8aeb6824fec4d053678 (patch)
tree6644c65639a587fc888f82507357b71a9d798585 /network/opera-developer
parentcb2e6dfed259f9510dd69d88789c1d0686d262eb (diff)
network/opera-developer: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/opera-developer')
-rw-r--r--network/opera-developer/default4
-rw-r--r--network/opera-developer/opera-developer19
-rw-r--r--network/opera-developer/opera-developer.SlackBuild10
3 files changed, 2 insertions, 31 deletions
diff --git a/network/opera-developer/default b/network/opera-developer/default
deleted file mode 100644
index 380d9ccee9094..0000000000000
--- a/network/opera-developer/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-developer/opera-developer b/network/opera-developer/opera-developer
deleted file mode 100644
index 3274e8a8f214a..0000000000000
--- a/network/opera-developer/opera-developer
+++ /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-developer/default ]]; then
- . /etc/opera-developer/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-developer/opera-developer $OPERA_FLAGS "$@"
-else
- exec /usr/lib/opera-developer/opera-developer $OPERA_FLAGS "$@"
-fi
diff --git a/network/opera-developer/opera-developer.SlackBuild b/network/opera-developer/opera-developer.SlackBuild
index 94a207aa940c0..a8d7cfdb638c8 100644
--- a/network/opera-developer/opera-developer.SlackBuild
+++ b/network/opera-developer/opera-developer.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for opera-developer.
#
-# Copyright 2015-2016 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2016 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=opera-developer
VERSION=${VERSION:-42.0.2392.0}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -88,12 +88,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 $PKG/usr/doc/${PRGNAM}-$VERSION
cd $PKG/usr/doc/${PRGNAM}-$VERSION/