Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages / 
electron25


Commits:
b064fac9 by Caleb Maclennan at 2024-03-05T00:22:37+03:00
Make version bumps a touch easier by making source updater easier to run with 
correct args

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -6,8 +6,8 @@
 # https://releases.electronjs.org/
 # https://github.com/stha09/chromium-patches/releases
 
-# Note: PKGBUILD source array can be updated to sources matching an exact 
Electron release with:
-# python makepkg-source-roller.py update v$pkgver $pkgname
+# Note: source array can be synced with an Electron release after updating 
$pkgver with:
+# bash -c 'source PKGBUILD; _update_sources'
 
 pkgver=25.9.8
 # _gcc_patches=114-patchset-1
@@ -398,6 +398,11 @@ _unwanted_bundled_libs=(
 )
 depends+=(${_system_libs[@]})
 
+_update_sources() {
+  python makepkg-source-roller.py update "v$pkgver" "$pkgname"
+  updpkgsums
+}
+
 prepare() {
   sed -i "s|@ELECTRON@|${pkgname}|" electron-launcher.sh
   sed -i "s|@ELECTRON@|${pkgname}|" electron.desktop



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/electron25/-/commit/b064fac973db415a3e212a5a5d4fad23ef03e239

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


Reply via email to