Selaa lähdekoodia

uppkg -> 25.6.0-2

Noah Vogt 1 vuosi sitten
vanhempi
sitoutus
512cf791f6
2 muutettua tiedostoa jossa 10 lisäystä ja 9 poistoa
  1. 4 1
      .SRCINFO
  2. 6 8
      PKGBUILD

+ 4 - 1
.SRCINFO

@@ -1,7 +1,7 @@
 pkgbase = electron25-xdg
 	pkgdesc = Build cross platform desktop apps with web technologies - without creating a useless ~/.pki directory
 	pkgver = 25.6.0
-	pkgrel = 1
+	pkgrel = 2
 	url = https://electronjs.org/
 	arch = x86_64
 	license = MIT
@@ -56,6 +56,9 @@ pkgbase = electron25-xdg
 	optdepends = qt5-base: enable Qt5 with --enable-features=AllowQt
 	optdepends = trash-cli: file deletion support (trash-put)
 	optdepends = xdg-utils: open URLs with desktop’s default (xdg-email, xdg-open)
+	provides = electron25
+	conflicts = electron25
+	replaces = electron25
 	options = !lto
 	source = git+https://github.com/electron/electron.git#tag=v25.6.0
 	source = git+https://chromium.googlesource.com/chromium/tools/depot_tools.git#branch=main

+ 6 - 8
PKGBUILD

@@ -11,7 +11,7 @@ _use_suffix=1
 pkgver=25.6.0
 _chromiumver=114.0.5735.134
 # shellcheck disable=SC2034
-pkgrel=1
+pkgrel=2
 
 _major_ver=${pkgver%%.*}
 if [[ ${_use_suffix} != 0 ]]; then
@@ -41,13 +41,11 @@ optdepends=('kde-cli-tools: file deletion support (kioclient5)'
             'qt5-base: enable Qt5 with --enable-features=AllowQt'
             'trash-cli: file deletion support (trash-put)'
             'xdg-utils: open URLs with desktop’s default (xdg-email, xdg-open)')
-if [[ ${_use_suffix} == 0 ]]; then
-  # shellcheck disable=SC2034
-  conflicts=("electron${_major_ver}")
-  # shellcheck disable=SC2034
-  provides=("electron${_major_ver}")
-  replaces=("electron${_major_ver}")
-fi
+# shellcheck disable=SC2034
+conflicts=("electron${_major_ver}")
+# shellcheck disable=SC2034
+provides=("electron${_major_ver}")
+replaces=("electron${_major_ver}")
 # shellcheck disable=SC2034
 options=('!lto') # Electron adds its own flags for ThinLTO
 # shellcheck disable=SC2034