084e262c6c
From /usr/share/doc/opera-stable/copyright: > Subject to the terms and conditions of these Terms, Opera hereby grants > you a limited, non-exclusive, non-transferable, non-sublicensable > license; > [ ... ] > (ii) to reproduce and distribute the Software without > modification, provided that any such reproduction or distribution of > the Software by you: (a) must be in an application repository for a > desktop Open Source OS distribution (expressly excluding distribution > for embedded Open Source OS); (b) must be made available free of charge > for end-users; (c) must be subject to and distributed with a copy of > this Agreement; and (d) no automatic modification of the default search > engines in the Software settings is done at any time, including but not > limited to after the Software is installed.
37 lines
1,014 B
Bash
37 lines
1,014 B
Bash
# Template file for 'opera'
|
|
pkgname=opera
|
|
version=36.0.2130.65
|
|
revision=2
|
|
only_for_archs="i686 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/"
|
|
nopie=yes
|
|
|
|
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ];then
|
|
_debarch=amd64
|
|
_platform=x86_64
|
|
checksum=f6fd496f3cafcb5d12540b9b3ee7ec5fc2d8f3ccfd525d3bb537cc3020efaa31
|
|
else
|
|
_debarch=i386
|
|
_platform=i386
|
|
checksum=81077245e55d893d47a5aa911c29d8f29d7794e0314bc9e1f8ea383bcd8aab8a
|
|
fi
|
|
|
|
distfiles="http://get.geo.opera.com/pub/opera/desktop/${version}/linux/opera-stable_${version}_${_debarch}.deb"
|
|
|
|
do_extract() {
|
|
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/opera-stable_${version}_${_debarch}.deb
|
|
cd ${wrksrc}
|
|
tar xfJ data.tar.xz
|
|
}
|
|
|
|
do_install() {
|
|
vbin ${FILESDIR}/opera
|
|
vcopy usr/lib/${_platform}-linux-gnu usr/lib
|
|
vcopy usr/share /usr/share
|
|
vlicense usr/share/doc/opera-stable/copyright
|
|
}
|