wok-next view vivaldi/receipt @ rev 21590
updated dialog (1.3-20181107 -> 1.3.20200327)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 07:00:06 2020 +0100 (2020-06-24) |
parents | 5669e8b3be70 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="vivaldi"
4 VERSION="1.12.955.48"
5 CATEGORY="network"
6 SHORT_DESC="An advanced browser made with the power user in mind"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="custom"
9 WEB_SITE="https://vivaldi.com/"
11 TARBALL="vivaldi-stable-$VERSION-1.${ARCH/i486/i386}.rpm"
12 WGET_URL="https://downloads.vivaldi.com/stable/$TARBALL"
14 compile_rules() {
15 mkdir -p $install
16 cp -a ./opt/ ./usr/ $install
18 # link icons
19 for size in 16 48; do
20 mkdir -p $install/usr/share/icons/hicolor/${size}x$size/apps
21 ln -s ../../../../../../opt/vivaldi/product_logo_$size.png \
22 $install/usr/share/icons/hicolor/${size}x$size/apps/vivaldi.png
23 done
25 # remome useless comments (after sdft)
26 sed -i '/^#/d' $install/usr/share/applications/vivaldi-stable.desktop
28 # suid sandbox
29 chmod 4755 $install/opt/vivaldi/vivaldi-sandbox
31 # extract license
32 mkdir -p $install/usr/share/licenses/$PACKAGE
33 sed '/<!DOCTYPE/,/<\/html>/!d' $src/opt/vivaldi/locales/en-US.pak \
34 | sed 's|.*<!DOCTYPE|<!DOCTYPE|' \
35 > $install/usr/share/licenses/$PACKAGE/EULA.html
36 }
38 genpkg_rules() {
39 copy opt/ usr/
40 DEPENDS="gconf alsa-lib atk libcairo dbus expat fontconfig gdk-pixbuf glib \
41 gtk3 libcups nspr nss pango libx11 libxscrnsaver \
42 libxcomposite libxcursor libxdamage libxext \
43 libxfixes libxi libxrandr libxrender libxtst \
44 libxcb bash mesa"
45 TAGS="web-browser"
46 }