#!/bin/sh
-# Slackware build script for Opera (stable and Developer flavours)
+# Slackware build script for Opera (Stable, Beta and Developer flavors)
# Copyright 2014 Vladislav Borisov Moscow, Russia
# All rights reserved.
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# opera-stable isn't actually called like that within the package,
-# although we'll preserve that name in order to avoid conflict with classic Opera package
+# opera-stable isn't actually called like that within the package
if [ "-stable" = "${FLAVOR}" ]; then
FLAVOR=""
fi
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-# Change Opera flavour in some files
+# Change Opera flavor in some files
sed -i "s/opera_FLAVOR_/opera${FLAVOR}/g" $PKG/usr/bin/opera${FLAVOR} \
$PKG/etc/default/opera${FLAVOR}
sed -i "s/opera_FLAVOR_/${PRGNAM}/g" $PKG/install/slack-desc