From 2cc0fe615564df8648a42cb88f793b41d86a03c8 Mon Sep 17 00:00:00 2001 From: Diogo Leal Date: Sun, 13 Dec 2015 09:19:43 -0200 Subject: [PATCH] New package: opera-34.0.2036.25 --- srcpkgs/opera/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/opera/template diff --git a/srcpkgs/opera/template b/srcpkgs/opera/template new file mode 100644 index 00000000000..56e4a972b5c --- /dev/null +++ b/srcpkgs/opera/template @@ -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 " +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 +}