2015-12-13 11:19:43 +00:00
|
|
|
# Template file for 'opera'
|
|
|
|
pkgname=opera
|
|
|
|
version=34.0.2036.25
|
2015-12-14 13:53:50 +00:00
|
|
|
revision=3
|
2015-12-13 11:19:43 +00:00
|
|
|
only_for_archs="x86_64"
|
|
|
|
depends="ffmpeg desktop-file-utils"
|
|
|
|
short_desc="Fast, secure, easy to use browser"
|
|
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
|
|
license="Proprietary"
|
|
|
|
repository="nonfree"
|
|
|
|
homepage="http://www.opera.com/browser/"
|
|
|
|
distfiles="http://get.geo.opera.com/pub/opera/desktop/${version}/linux/opera-stable_${version}_amd64.deb"
|
|
|
|
checksum=ae4933f0df63b920f79ce6063b48ebcd7f3cf2bcdbde13dc410c4fe24bcf1447
|
|
|
|
|
|
|
|
do_extract() {
|
|
|
|
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/opera-stable_${version}_amd64.deb
|
|
|
|
cd ${wrksrc}
|
|
|
|
tar xfJ data.tar.xz
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2015-12-13 19:34:53 +00:00
|
|
|
vbin ${FILESDIR}/opera
|
|
|
|
vcopy usr/lib/x86_64-linux-gnu usr/lib
|
2015-12-13 11:19:43 +00:00
|
|
|
vcopy usr/share /usr/share
|
|
|
|
vlicense usr/share/doc/opera-stable/copyright
|
|
|
|
}
|