vivaldi: update to 2.0.1309.37.

This commit is contained in:
cr6git 2018-10-04 06:45:59 +02:00 committed by GitHub
parent 0bbfa2bf16
commit 8628887296
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 9 deletions

View File

@ -1,8 +1,8 @@
# Template file for 'vivaldi'
pkgname=vivaldi
version=1.15.1147.64
version=2.0.1309.37
revision=1
_release=1
_release=2
only_for_archs="i686 x86_64"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Advanced browser made with the power user in mind"
@ -15,31 +15,34 @@ nostrip=yes
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
_debarch=amd64
checksum=4f016f56138a2c5f5df0db5a010fd24122e4894af8e667162b474e817376ab07
checksum=aa38d16838bd47a2dda1e4d287667f3c1f5588c8e15ebc2290af53a904613715
else
_debarch=i386
checksum=1893ac5c027768ed69f753729043774a974db07b2311936f594ec99242af8fdd
checksum=f80940d21caf55734ae3d53e84d4e5e43b3885ac35cac662a9ecb63ebbf5cdb9
fi
distfiles="https://downloads.vivaldi.com/stable/vivaldi-stable_${version}-${_release}_${_debarch}.deb"
do_extract() {
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/vivaldi-stable_${version}-${_release}_${_debarch}.deb
tar xf data.tar.xz --exclude={./etc,./opt/vivaldi/cron,./usr/share/{doc,gnome-control-center,menu}}
tar xf data.tar.xz --exclude={./etc,./opt/vivaldi/cron}
}
do_install() {
vinstall usr/share/applications/vivaldi-stable.desktop 0644 \
/usr/share/applications
usr/share/applications
vcopy opt/ /opt
vcopy usr /
vmkdir opt
vcopy opt/vivaldi opt
vmkdir usr/bin
ln -s /opt/vivaldi/vivaldi ${DESTDIR}/usr/bin/vivaldi-stable
# suid sandbox
chmod 4755 ${DESTDIR}/opt/vivaldi/vivaldi-sandbox
for res in 16 22 24 32 48 64 128 256; do
vinstall opt/vivaldi/product_logo_${res}.png 0644 \
/usr/share/icons/hicolor/${res}x${res}/apps vivaldi.png
usr/share/icons/hicolor/${res}x${res}/apps vivaldi.png
done
}