summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD18
2 files changed, 19 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0b98278f0c62..528f07951321 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Wed Jan 31 08:20:47 UTC 2018
+# Thu Feb 1 07:03:25 UTC 2018
pkgbase = vivaldi
pkgdesc = An advanced browser made with the power user in mind.
pkgver = 1.14.1077.41
- pkgrel = 1
+ pkgrel = 2
url = https://vivaldi.com
arch = x86_64
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index 6d885c243513..009243aeb53e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=vivaldi
pkgver=1.14.1077.41
-pkgrel=1
+pkgrel=2
pkgdesc='An advanced browser made with the power user in mind.'
url="https://vivaldi.com"
options=(!strip !zipman)
@@ -47,5 +47,21 @@ package() {
| sed -rne 's/.*(<html lang.*>.*html>).*/\1/p' \
| w3m -I 'utf-8' -T 'text/html' \
> "$pkgdir/usr/share/licenses/$pkgname/eula.txt"
+
+ # quick fix for the actions
+ if ! grep 'Desktop Action' "$pkgdir/usr/share/applications/vivaldi-stable.desktop" > /dev/null 2>&1; then
+ cat <<'EOF' >> "$pkgdir/usr/share/applications/vivaldi-stable.desktop"
+
+[Desktop Action new-window]
+Name=New Window
+Exec=/usr/bin/vivaldi-stable --new-window
+TargetEnvironment=Unity
+
+[Desktop Action new-private-window]
+Name=New Private Window
+Exec=/usr/bin/vivaldi-stable --incognito
+TargetEnvironment=Unity
+EOF
+ fi
}