opera: update to 51.0.2830.26.

Closes: #11407 [via git-merge-pr]
This commit is contained in:
cr6git 2018-02-05 22:19:27 +01:00 committed by Jürgen Buchmüller
parent 872b45496d
commit 3f9fbb3970

View file

@ -1,10 +1,9 @@
# Template file for 'opera'
pkgname=opera
version=50.0.2762.58
version=51.0.2830.26
revision=1
only_for_archs="x86_64"
repository="nonfree"
build_style=fetch
nostrip=yes
hostmakedepends="freetype-devel"
depends="ffmpeg desktop-file-utils hicolor-icon-theme"
@ -12,9 +11,8 @@ short_desc="Fast, secure, easy to use browser"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="Proprietary"
homepage="https://www.opera.com/computer"
# https is horribly slow!
distfiles="http://get.geo.opera.com/pub/opera/desktop/${version}/linux/${pkgname}-stable_${version}_amd64.deb"
checksum=8c59aad232ab9f7d237a91ad69155bebd296d569ecff27b90487709fb8b56b34
distfiles="https://get.geo.opera.com/pub/opera/desktop/${version}/linux/${pkgname}-stable_${version}_amd64.deb"
checksum=67e221f7b5bb2074036fd9e334f58628c174a611a06997c360e68667a31b3e8f
do_extract() {
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-stable_${version}_amd64.deb
@ -22,13 +20,15 @@ do_extract() {
}
do_install() {
vmkdir /usr/lib
vcopy usr/lib/x86_64-linux-gnu/opera /usr/lib
vmkdir /usr/bin
ln -s ../lib/opera/opera ${DESTDIR}/usr/bin/opera
vlicense usr/share/doc/opera-stable/copyright
rm -rf usr/share/doc
vcopy usr/lib/x86_64-linux-gnu usr/lib
vcopy usr/share /usr
ln -sf /usr/lib/libfreetype.so.6 ${DESTDIR}/usr/lib/opera/libfreetype.so.6