Merge pull request #3160 from diogoleal/opera

New package: opera-34.0.2036.25
This commit is contained in:
Juan RP 2015-12-13 17:53:53 +01:00
commit 9d872c8970

26
srcpkgs/opera/template Normal file
View file

@ -0,0 +1,26 @@
# Template file for 'opera'
pkgname=opera
version=34.0.2036.25
revision=1
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() {
vbin usr/bin/opera
vcopy usr/lib /usr/lib
vcopy usr/share /usr/share
vlicense usr/share/doc/opera-stable/copyright
}