void-packages/srcpkgs/opera/template

27 lines
782 B
Bash
Raw Normal View History

2015-12-13 11:19:43 +00:00
# Template file for 'opera'
pkgname=opera
2016-02-12 01:13:15 +00:00
version=35.0.2066.37
revision=1
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"
2016-02-12 01:13:15 +00:00
checksum=3afa543f51d5f7fe4e8fbff93518c4afe0a0a8fab5e43210fbc0f6d42739d148
2015-12-13 11:19:43 +00:00
do_extract() {
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/opera-stable_${version}_amd64.deb
cd ${wrksrc}
tar xfJ data.tar.xz
}
do_install() {
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
}