summaryrefslogtreecommitdiff
path: root/network/vivaldi/vivaldi.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/vivaldi/vivaldi.SlackBuild')
-rw-r--r--network/vivaldi/vivaldi.SlackBuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/network/vivaldi/vivaldi.SlackBuild b/network/vivaldi/vivaldi.SlackBuild
index 525a76067c..d659a64949 100644
--- a/network/vivaldi/vivaldi.SlackBuild
+++ b/network/vivaldi/vivaldi.SlackBuild
@@ -23,9 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="vivaldi"
+VERSION=${VERSION:-1.0.303.27}
SRCNAM="vivaldi-snapshot"
-VERSION=${VERSION:-1.0.300.5}
-SRCVER=${SRCVER:-1.0.300.5-1}
+SRCVER=${SRCVER:-1.0.303.27-1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -79,7 +79,14 @@ mv opt usr $PKG/
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# install icons.
+(
+ln -sf /opt/vivaldi-snapshot/vivaldi-snapshot $PKG/usr/bin/vivaldi-snapshot
+ln -sf /opt/vivaldi-snapshot/vivaldi-snapshot $PKG/opt/vivaldi-snapshot/vivaldi
+)
+
+chown root:root $PKG/opt/vivaldi-snapshot/vivaldi-sandbox
+chmod 4755 $PKG/opt/vivaldi-snapshot/vivaldi-sandbox
+
for res in 16 22 24 32 48 64 128 256; do
install -Dm644 "$PKG/opt/vivaldi-snapshot/product_logo_${res}.png" \
"$PKG/usr/share/icons/hicolor/${res}x${res}/apps/vivaldi-snapshot.png"