aboutsummaryrefslogtreecommitdiff
path: root/network/vivaldi/vivaldi.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/vivaldi/vivaldi.SlackBuild')
-rw-r--r--network/vivaldi/vivaldi.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/network/vivaldi/vivaldi.SlackBuild b/network/vivaldi/vivaldi.SlackBuild
index 565254df0ebd3..9db7659a01435 100644
--- a/network/vivaldi/vivaldi.SlackBuild
+++ b/network/vivaldi/vivaldi.SlackBuild
@@ -24,8 +24,8 @@
PRGNAM="vivaldi"
SRCNAM="vivaldi-snapshot"
-VERSION=${VERSION:-1.0.264.3}
-SRCVER=${SRCVER:-1.0.264.3-1}
+VERSION=${VERSION:-1.0.270.16}
+SRCVER=${SRCVER:-1.0.270.16-1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -79,6 +79,12 @@ 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.
+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"
+done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
gzip -dc $PKG/usr/share/doc/vivaldi-snapshot/changelog.gz > $PKG/usr/doc/$PRGNAM-$VERSION/ChangeLog; rm -rf $PKG/usr/share/doc
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README