vivaldi: update to 1.0.435.40

This commit is contained in:
Diogo Leal 2016-04-09 07:12:30 -03:00
parent fb2ef547d5
commit 9520e389d9

View file

@ -1,6 +1,6 @@
# Template file for 'vivaldi' # Template file for 'vivaldi'
pkgname=vivaldi pkgname=vivaldi
version=1.0.403.24 version=1.0.435.40
revision=1 revision=1
_release=1 _release=1
only_for_archs="i686 x86_64" only_for_archs="i686 x86_64"
@ -13,16 +13,16 @@ restricted=yes
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ];then if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ];then
_debarch=amd64 _debarch=amd64
checksum=43d3c487a65383cf1872ac84a54f21b3f1972a8bc124aa2f5d0bd176d51a8188 checksum=12c051a40258a95f9594eed2f73fa5f591482ac2a41d5cf643811b1ea2a1efbf
else else
_debarch=i386 _debarch=i386
checksum=d05a3ee4803c88dd4fd7ecee63e3d4659554f6403590091d10f665396aed5139 checksum=6e0b84fba38211bab9a71bc10e97398fca77c0acd82791923c1d432b20846f0f
fi fi
distfiles="https://vivaldi.com/download/stable/vivaldi-beta_${version}-${_release}_${_debarch}.deb" distfiles="https://vivaldi.com/download/stable/vivaldi-stable_${version}-${_release}_${_debarch}.deb"
do_extract() { do_extract() {
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/vivaldi-beta_${version}-${_release}_${_debarch}.deb ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/vivaldi-stable_${version}-${_release}_${_debarch}.deb
cd ${wrksrc} cd ${wrksrc}
tar xfJ data.tar.xz tar xfJ data.tar.xz
} }
@ -31,7 +31,7 @@ do_install() {
vcopy opt/ /opt vcopy opt/ /opt
vcopy usr / vcopy usr /
for res in 24 48 64; do for res in 24 48 64; do
vinstall opt/vivaldi-beta/product_logo_${res}.png 0644\ 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 done
} }