opera: update to 48.0.2685.52 (#8855)

This commit is contained in:
cr6git 2017-11-04 06:24:51 +01:00 committed by Juan RP
parent 0892a27623
commit e889f6e779
1 changed files with 9 additions and 7 deletions

View File

@ -1,28 +1,30 @@
# Template file for 'opera'
pkgname=opera
version=48.0.2685.32
version=48.0.2685.52
revision=1
only_for_archs="x86_64"
hostmakedepends="freetype-devel"
depends="ffmpeg desktop-file-utils"
depends="ffmpeg desktop-file-utils hicolor-icon-theme"
short_desc="Fast, secure, easy to use browser"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="Proprietary"
repository="nonfree"
homepage="https://www.opera.com/computer"
nopie=yes
distfiles="https://get.geo.opera.com/pub/${pkgname}/desktop/${version}/linux/${pkgname}-stable_${version}_amd64.deb"
checksum=681fc21800bcdea3fefb5f00f2fc5c0817040e1ec5028b59152d7610b2671780
nostrip=yes
# https is horribly slow!
distfiles="http://get.geo.opera.com/pub/opera/desktop/${version}/linux/${pkgname}-stable_${version}_amd64.deb"
checksum=1709b44fe1daca3df1063e0566716768c1476fc455fd6d75078d68252096f608
do_extract() {
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-stable_${version}_amd64.deb
tar xf data.tar.xz
tar xf data.tar.xz --exclude=./usr/share/{lintian,menu}
}
do_install() {
vbin ${FILESDIR}/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/share
vlicense usr/share/doc/opera-stable/copyright
ln -sf /usr/lib/libfreetype.so.6 ${DESTDIR}/usr/lib/opera/libfreetype.so.6
}