Merge pull request #7112 from cr6git/Vivaldi

vivaldi: update to 1.10.867.48
This commit is contained in:
Toyam Cox 2017-07-27 02:05:44 -04:00 committed by GitHub
commit 5a259b5929
1 changed files with 14 additions and 7 deletions

View File

@ -1,22 +1,29 @@
# Template file for 'vivaldi'
pkgname=vivaldi
version=1.10.867.42
version=1.10.867.48
revision=1
_release=1
only_for_archs="x86_64"
short_desc="An advanced browser made with the power user in mind"
only_for_archs="i686 x86_64"
short_desc="Advanced browser made with the power user in mind"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="Proprietary"
homepage="https://vivaldi.com"
repository="nonfree"
restricted=yes
nopie=yes
checksum=5a4333775ff0ade1e348dfcc8fdd2f31ec8af8ffc477baf317702bbfdf0717f4
distfiles="https://downloads.vivaldi.com/stable/vivaldi-stable_${version}-${_release}_amd64.deb"
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
_debarch=amd64
checksum=8c861fd373536a3c0f588541c184cbfe17c903adb09f3745141eeccd752156c1
else
_debarch=i386
checksum=5a8daaa56c3e0044d0bed6f2014395dd57c013380de9c68576e175aa5c55fa98
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}_amd64.deb
cd ${wrksrc}
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/vivaldi-stable_${version}-${_release}_${_debarch}.deb
tar xf data.tar.xz
}