3e574f94b2
Closes: #6811 [via git-merge-pr]
31 lines
895 B
Bash
31 lines
895 B
Bash
# Template file for 'vivaldi'
|
|
pkgname=vivaldi
|
|
version=1.10.867.42
|
|
revision=1
|
|
_release=1
|
|
only_for_archs="x86_64"
|
|
short_desc="An advanced browser made with the power user in mind"
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
license="Proprietary"
|
|
homepage="https://vivaldi.com"
|
|
repository="nonfree"
|
|
restricted=yes
|
|
nopie=yes
|
|
checksum=5a4333775ff0ade1e348dfcc8fdd2f31ec8af8ffc477baf317702bbfdf0717f4
|
|
distfiles="https://downloads.vivaldi.com/stable/vivaldi-stable_${version}-${_release}_amd64.deb"
|
|
|
|
do_extract() {
|
|
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/vivaldi-stable_${version}-${_release}_amd64.deb
|
|
cd ${wrksrc}
|
|
tar xf data.tar.xz
|
|
}
|
|
|
|
do_install() {
|
|
vcopy opt/ /opt
|
|
vcopy usr /
|
|
for res in 24 48 64; do
|
|
vinstall opt/vivaldi/product_logo_${res}.png 0644 \
|
|
/usr/share/icons/hicolor/${res}x${res}/apps vivaldi.png
|
|
done
|
|
ln -sf /opt/vivaldi/vivaldi ${DESTDIR}/usr/bin/vivaldi-stable
|
|
}
|