diff --git a/srcpkgs/vivaldi/template b/srcpkgs/vivaldi/template index 640809e2fd7..377b0f008db 100644 --- a/srcpkgs/vivaldi/template +++ b/srcpkgs/vivaldi/template @@ -1,9 +1,9 @@ # Template file for 'vivaldi' pkgname=vivaldi -version=3.8.2259.42 +version=4.0.2312.41 revision=1 _release=1 -archs="i686 x86_64" +archs="x86_64" hostmakedepends="curl python3-html2text python3-setuptools" depends="desktop-file-utils hicolor-icon-theme" short_desc="Advanced browser made with the power user in mind" @@ -16,19 +16,12 @@ repository=nonfree restricted=yes nostrip=yes -if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then - _debarch=amd64 - checksum=cd6648b4a6b45069e7bc4955cc0464abca6bd9c5c70f7a63f3a162e9e002f80c -else - _debarch=i386 - checksum=68557d8723c3db7acea990524b4c3da895a2a1c150e547fc3bcb2c1590511675 -fi - -distfiles="https://downloads.vivaldi.com/stable/vivaldi-stable_${version}-${_release}_${_debarch}.deb" +distfiles="https://downloads.vivaldi.com/stable/vivaldi-stable_${version}-${_release}_amd64.deb" _licenseUrl="https://vivaldi.com/privacy/vivaldi-end-user-license-agreement/" +checksum=70f552d36b520cbfe747b24902a968ad03c359ffa49882869a60f03ca6c131bc do_extract() { - ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/vivaldi-stable_${version}-${_release}_${_debarch}.deb + ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/vivaldi-stable_${version}-${_release}_amd64.deb bsdtar xf data.tar.xz --exclude={./etc,./opt/vivaldi/cron} }