Ike Devolder pushed to branch main at Arch Linux / Packaging / Packages / 
vivaldi


Commits:
cb2497c0 by Ike Devolder at 2023-10-26T08:55:55+02:00
upgpkg: 6.4.3160.34-1

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,27 @@
+pkgbase = vivaldi
+       pkgdesc = An advanced browser made with the power user in mind.
+       pkgver = 6.4.3160.34
+       pkgrel = 1
+       url = https://vivaldi.com
+       arch = x86_64
+       license = custom
+       makedepends = w3m
+       depends = gtk3
+       depends = libcups
+       depends = nss
+       depends = alsa-lib
+       depends = libxss
+       depends = ttf-font
+       depends = desktop-file-utils
+       depends = shared-mime-info
+       depends = hicolor-icon-theme
+       optdepends = vivaldi-ffmpeg-codecs: playback of proprietary video/audio
+       optdepends = libnotify: native notifications
+       options = !strip
+       options = !zipman
+       source = 
https://downloads.vivaldi.com/stable/vivaldi-stable-6.4.3160.34-1.x86_64.rpm
+       source = 0001-add-support-for-user-flags.patch
+       sha512sums = 
686ce5524a0c1eae5481520c457b121e6e8a0ce6657d777cef9c5875f5045da305c5328f2736f4c4208d983f0c84d215e311bcc24e37bd848cb886b950dc9871
+       sha512sums = 
334db2056114fdbf07407b1cee24284f019df7a15acd711ed016bab1a1ab211abf3884ed848f3496486e7c78056108ccf1e88547e22b787bc4f548c6785f64d2
+
+pkgname = vivaldi


=====================================
PKGBUILD
=====================================
@@ -2,8 +2,8 @@
 # Contributor: TZ86
 
 pkgname=vivaldi
-_rpmversion=6.2.3105.58-1
-pkgver=6.2.3105.58
+_rpmversion=6.4.3160.34-1
+pkgver=6.4.3160.34
 pkgrel=1
 pkgdesc='An advanced browser made with the power user in mind.'
 url="https://vivaldi.com";
@@ -18,7 +18,7 @@ optdepends=(
 )
 
source=("https://downloads.vivaldi.com/stable/vivaldi-stable-${_rpmversion}.x86_64.rpm";
         '0001-add-support-for-user-flags.patch')
-sha512sums=('f73652801b091e7b850ce2cafb6f0f976a0be1bc671b303d362ee475c3aec43856a2ddec70bfabe8efff8f2416f50ee99d0d53382c9387e0bf84528faac23270'
+sha512sums=('686ce5524a0c1eae5481520c457b121e6e8a0ce6657d777cef9c5875f5045da305c5328f2736f4c4208d983f0c84d215e311bcc24e37bd848cb886b950dc9871'
             
'334db2056114fdbf07407b1cee24284f019df7a15acd711ed016bab1a1ab211abf3884ed848f3496486e7c78056108ccf1e88547e22b787bc4f548c6785f64d2')
 
 package() {
@@ -31,10 +31,16 @@ package() {
     # suid sandbox
     chmod 4755 "$pkgdir/opt/$pkgname/vivaldi-sandbox"
 
+    install -dm755 "$pkgdir/usr/bin"
+
     # make /usr/bin/vivaldi-stable available
     binf="$pkgdir/usr/bin/vivaldi-stable"
     if [[ ! -e "$binf" ]] && [[ ! -f "$binf" ]] && [[ ! -L "$binf" ]]; then
-        install -dm755 "$pkgdir/usr/bin"
+        ln -s /opt/vivaldi/vivaldi "$binf"
+    fi
+    # make /usr/bin/vivaldi available
+    binf="$pkgdir/usr/bin/vivaldi"
+    if [[ ! -e "$binf" ]] && [[ ! -f "$binf" ]] && [[ ! -L "$binf" ]]; then
         ln -s /opt/vivaldi/vivaldi "$binf"
     fi
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/vivaldi/-/commit/cb2497c0c5c2fe05ff46aba6996653806fd4ec74

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/vivaldi/-/commit/cb2497c0c5c2fe05ff46aba6996653806fd4ec74
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to