32 lines
853 B
Bash
32 lines
853 B
Bash
# Template file for 'opera'
|
|
pkgname=opera
|
|
version=95.0.4635.25
|
|
revision=1
|
|
archs="x86_64"
|
|
create_wrksrc=yes
|
|
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=0db4fb3247d24249ad19f65f1e63ce339d8f9a1e9fcb789835a84bc0f916fdfe
|
|
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
|
|
}
|