Merge pull request #4620 from diogoleal/opera-update

opera: update to opera-39.0.2256.48
This commit is contained in:
Toyam Cox 2016-08-15 00:55:18 -04:00 committed by GitHub
commit 15107bdc06
2 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'opera'
pkgname=opera
version=38.0.2220.41
version=39.0.2256.48
revision=1
only_for_archs="i686 x86_64"
depends="ffmpeg desktop-file-utils"
@ -14,11 +14,11 @@ nopie=yes
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ];then
_debarch=amd64
_platform=x86_64
checksum=c4adb799f399c7a4cbbbff0ef4e553c40d6fa1fffc073ef18a86ba8887c3db03
checksum=fdf0278674422a8da9af94ed4421012f57a159dc7e7f0be28dd3e83614d3935b
else
_debarch=i386
_platform=i386
checksum=16be524b9eb34a2abf0e86042b0e36299db7519be958af1dcdaf88ad6b57566b
checksum=61e7cd5bf45f67baba9a1ff1c0c12a83fba7354fa667bc5a6fc7a29516ef85ab
fi
distfiles="http://get.geo.opera.com/pub/opera/desktop/${version}/linux/opera-stable_${version}_${_debarch}.deb"

3
srcpkgs/opera/update Normal file
View File

@ -0,0 +1,3 @@
# This is the only site I've reliably found the version number on
site=https://www.whatismybrowser.com/guides/the-latest-version/opera
pattern="\K\d+\.\d+\.\d+\.\d+(?=<\/h2>)"