summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rw-r--r--network/opera/opera.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/network/opera/opera.SlackBuild b/network/opera/opera.SlackBuild
index d91062ea82..477f6859e6 100644
--- a/network/opera/opera.SlackBuild
+++ b/network/opera/opera.SlackBuild
@@ -28,7 +28,7 @@
PRGNAM=opera
VERSION=11.11
REVNO=2109
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -66,6 +66,10 @@ chmod -R u+w,go+r-w,a-s .
[ "$LIBDIRSUFFIX" = "64" ] && patch -p1 < $CWD/fixup_libdir.diff
[ "$LIBDIRSUFFIX" = "64" ] && mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
+# Fix the package type reported by the build
+# Thanks to Ruarí Ødegaard <ruario@opera.com> for the tip
+sed "s,^\(Package\ Type=\)rpm$,\1tar," -i $PKG/usr/share/opera/package-id.ini
+
mv $PKG/usr/share/man $PKG/usr
mv $PKG/usr/share/doc $PKG/usr