Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages / electron22
Commits: 72af601b by Caleb Maclennan at 2024-03-05T00:21:34+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=22.3.27 _gcc_patches=108-patchset-2 @@ -448,6 +448,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/electron22/-/commit/72af601bd30d17891d7f9c6fb662ab5b119d4ceb -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/electron22/-/commit/72af601bd30d17891d7f9c6fb662ab5b119d4ceb You're receiving this email because of your account on gitlab.archlinux.org.