opera: update to 50.0.2762.58. Fix /usr/share
Closes: #10692 [via git-merge-pr]
This commit is contained in:
parent
5f1e5538fa
commit
e837c92bcd
@ -1,2 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
exec /usr/lib/opera/opera "$@"
|
|
@ -1,19 +1,20 @@
|
|||||||
# Template file for 'opera'
|
# Template file for 'opera'
|
||||||
pkgname=opera
|
pkgname=opera
|
||||||
version=50.0.2762.45
|
version=50.0.2762.58
|
||||||
revision=1
|
revision=1
|
||||||
only_for_archs="x86_64"
|
only_for_archs="x86_64"
|
||||||
|
repository="nonfree"
|
||||||
|
build_style=fetch
|
||||||
|
nostrip=yes
|
||||||
hostmakedepends="freetype-devel"
|
hostmakedepends="freetype-devel"
|
||||||
depends="ffmpeg desktop-file-utils hicolor-icon-theme"
|
depends="ffmpeg desktop-file-utils hicolor-icon-theme"
|
||||||
short_desc="Fast, secure, easy to use browser"
|
short_desc="Fast, secure, easy to use browser"
|
||||||
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||||||
license="Proprietary"
|
license="Proprietary"
|
||||||
repository="nonfree"
|
|
||||||
homepage="https://www.opera.com/computer"
|
homepage="https://www.opera.com/computer"
|
||||||
nostrip=yes
|
|
||||||
# https is horribly slow!
|
# https is horribly slow!
|
||||||
distfiles="http://get.geo.opera.com/pub/opera/desktop/${version}/linux/${pkgname}-stable_${version}_amd64.deb"
|
distfiles="http://get.geo.opera.com/pub/opera/desktop/${version}/linux/${pkgname}-stable_${version}_amd64.deb"
|
||||||
checksum=be956e5403a9db58eb43a148285704c69a948a34facec7da9e3d31fcbdc94daa
|
checksum=8c59aad232ab9f7d237a91ad69155bebd296d569ecff27b90487709fb8b56b34
|
||||||
|
|
||||||
do_extract() {
|
do_extract() {
|
||||||
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-stable_${version}_amd64.deb
|
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-stable_${version}_amd64.deb
|
||||||
@ -21,11 +22,15 @@ do_extract() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin ${FILESDIR}/opera
|
vmkdir /usr/bin
|
||||||
|
ln -s ../lib/opera/opera ${DESTDIR}/usr/bin/opera
|
||||||
|
|
||||||
vlicense usr/share/doc/opera-stable/copyright
|
vlicense usr/share/doc/opera-stable/copyright
|
||||||
rm -rf usr/share/doc
|
rm -rf usr/share/doc
|
||||||
|
|
||||||
vcopy usr/lib/x86_64-linux-gnu usr/lib
|
vcopy usr/lib/x86_64-linux-gnu usr/lib
|
||||||
vcopy usr/share /usr/share
|
vcopy usr/share /usr
|
||||||
|
|
||||||
ln -sf /usr/lib/libfreetype.so.6 ${DESTDIR}/usr/lib/opera/libfreetype.so.6
|
ln -sf /usr/lib/libfreetype.so.6 ${DESTDIR}/usr/lib/opera/libfreetype.so.6
|
||||||
|
|
||||||
# suid opera_sandbox
|
# suid opera_sandbox
|
||||||
|
Loading…
x
Reference in New Issue
Block a user