27 lines
782 B
Bash
27 lines
782 B
Bash
# Template file for 'opera'
|
|
pkgname=opera
|
|
version=34.0.2036.25
|
|
revision=3
|
|
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 ${FILESDIR}/opera
|
|
vcopy usr/lib/x86_64-linux-gnu usr/lib
|
|
vcopy usr/share /usr/share
|
|
vlicense usr/share/doc/opera-stable/copyright
|
|
}
|