From 865cabe8014a3cefef7f65eb3d42cdd8fb38b3ec Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Tue, 3 May 2016 10:08:06 +0200 Subject: [PATCH] network/vivaldi: Updated for version 1.1.453.52. Signed-off-by: Matteo Bernardini --- network/vivaldi/vivaldi.SlackBuild | 29 ++++++++++++++++------------- network/vivaldi/vivaldi.info | 10 +++++----- 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/network/vivaldi/vivaldi.SlackBuild b/network/vivaldi/vivaldi.SlackBuild index 89f73c1bb7..d2f2321bb2 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 diff --git a/network/vivaldi/vivaldi.info b/network/vivaldi/vivaldi.info index 1a8372a910..5777b51be0 100644 --- a/network/vivaldi/vivaldi.info +++ b/network/vivaldi/vivaldi.info @@ -1,10 +1,10 @@ PRGNAM="vivaldi" -VERSION="1.0.365.3" +VERSION="1.1.453.52" HOMEPAGE="https://vivaldi.com/" -DOWNLOAD="http://repo.vivaldi.com/archive/deb/pool/main/vivaldi-snapshot_1.0.365.3-1_i386.deb" -MD5SUM="ff6d3f9b08f98cf6af9dfec6d1680eb0" -DOWNLOAD_x86_64="http://repo.vivaldi.com/archive/deb/pool/main/vivaldi-snapshot_1.0.365.3-1_amd64.deb" -MD5SUM_x86_64="acb7ae0f1405e57e2ac81c81d0a607a0" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/vivaldi-stable_1.1.453.52-1_i386.deb" +MD5SUM="31778e330095867c6d0293e2943bb076" +DOWNLOAD_x86_64="http://ponce.cc/slackware/sources/repo/vivaldi-stable_1.1.453.52-1_amd64.deb" +MD5SUM_x86_64="13c3677924e8ff15f5441c7b4fad84b4" REQUIRES="" MAINTAINER="Edinaldo P. Silva" EMAIL="edps.mundognu@gmail.com"