33 lines
884 B
Bash
33 lines
884 B
Bash
# Template file for 'opera'
|
|
pkgname=opera
|
|
version=89.0.4447.51
|
|
revision=1
|
|
archs="x86_64"
|
|
create_wrksrc=yes
|
|
hostmakedepends="rpmextract"
|
|
depends="ffmpeg desktop-file-utils hicolor-icon-theme"
|
|
short_desc="Fast, secure, easy to use browser"
|
|
maintainer="mobinmob <mobinmob@disroot.org>"
|
|
license="custom:Proprietary"
|
|
homepage="https://www.opera.com/computer"
|
|
distfiles="https://get.geo.opera.com/pub/opera/desktop/${version}/linux/opera-stable_${version}_amd64.rpm"
|
|
checksum=9e7c043f71f8995104f853d9ff861be4f509bd5cc2906d793436e07dc7aa6f77
|
|
repository="nonfree"
|
|
nostrip=yes
|
|
|
|
do_install() {
|
|
# Create necessary dirs
|
|
vmkdir usr/bin
|
|
vmkdir usr/lib
|
|
|
|
# Copy files
|
|
vcopy usr/lib64/opera /usr/lib/
|
|
vcopy usr/share /usr/share/
|
|
|
|
# Link executable in path
|
|
ln -s ../lib/opera/opera "${DESTDIR}/usr/bin/opera"
|
|
|
|
# Install 3rd-party licenses
|
|
vlicense usr/lib64/opera/opera_autoupdate.licenses
|
|
}
|