diff options
Diffstat (limited to 'network/vivaldi/vivaldi.SlackBuild')
-rw-r--r-- | network/vivaldi/vivaldi.SlackBuild | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/network/vivaldi/vivaldi.SlackBuild b/network/vivaldi/vivaldi.SlackBuild index 89f73c1bb7364..d2f2321bb2308 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.365.3} -SRCNAM="vivaldi-snapshot" -SRCVER=${SRCVER:-1.0.365.3-1} +VERSION=${VERSION:-1.1.453.52} +SRCNAM="vivaldi-stable" +SRCVER=${SRCVER:-1.1.453.52-1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -73,27 +73,30 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -rm -r opt/vivaldi-snapshot/cron +rm -r opt/vivaldi/cron 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 -( -ln -sf /opt/vivaldi-snapshot/vivaldi-snapshot $PKG/usr/bin/vivaldi-snapshot -ln -sf /opt/vivaldi-snapshot/vivaldi-snapshot $PKG/opt/vivaldi-snapshot/vivaldi -) +ln -sf /opt/vivaldi/vivaldi $PKG/usr/bin/vivaldi -chown root:root $PKG/opt/vivaldi-snapshot/vivaldi-sandbox -chmod 4755 $PKG/opt/vivaldi-snapshot/vivaldi-sandbox +chown root:root $PKG/opt/vivaldi/vivaldi-sandbox +chmod 4755 $PKG/opt/vivaldi/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" + install -Dm644 "$PKG/opt/vivaldi/product_logo_${res}.png" \ +"$PKG/usr/share/icons/hicolor/${res}x${res}/apps/vivaldi.png" done +sed \ + -e "s|vivaldi-stable|vivaldi|" \ + $PKG/usr/share/applications/vivaldi-stable.desktop \ + > $PKG/usr/share/applications/vivaldi.desktop +rm $PKG/usr/share/applications/vivaldi-stable.desktop + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -gzip -dc $PKG/usr/share/doc/vivaldi-snapshot/changelog.gz > \ +gzip -dc $PKG/usr/share/doc/vivaldi-stable/changelog.gz > \ $PKG/usr/doc/$PRGNAM-$VERSION/ChangeLog; rm -rf $PKG/usr/share/doc cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |