29 lines
903 B
Bash
29 lines
903 B
Bash
# Template file for 'opera'
|
|
pkgname=opera
|
|
version=46.0.2597.57
|
|
revision=1
|
|
only_for_archs="x86_64"
|
|
hostmakedepends="freetype-devel"
|
|
depends="ffmpeg desktop-file-utils"
|
|
short_desc="Fast, secure, easy to use browser"
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
license="Proprietary"
|
|
repository="nonfree"
|
|
homepage="https://www.opera.com/computer"
|
|
nopie=yes
|
|
distfiles="https://get.geo.opera.com/pub/${pkgname}/desktop/${version}/linux/${pkgname}-stable_${version}_amd64.deb"
|
|
checksum=d69bc0a9d489e8d8f65b3498372fde2c935e258972f191cef74d06c526d76f2e
|
|
|
|
do_extract() {
|
|
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-stable_${version}_amd64.deb
|
|
tar xf 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
|
|
ln -sf /usr/lib/libfreetype.so.6 ${DESTDIR}/usr/lib/opera/libfreetype.so.6
|
|
}
|