Skip to content
Snippets Groups Projects
Verified Commit cf507204 authored by Caleb Maclennan's avatar Caleb Maclennan
Browse files

Make version bumps a touch easier by making source updater easier to run with correct args

parent 0ff43d9a
No related branches found
No related tags found
1 merge request!1Draft: let makepkg manage sources
......@@ -5,6 +5,9 @@
# https://releases.electronjs.org/
# https://gitlab.com/Matt.Jolly/chromium-patches/-/tags
# Note: source array can be synced with an Electron release after updating $pkgver with:
# bash -c 'source PKGBUILD; _update_sources'
pkgver=29.1.0
_gcc_patches=122-3
pkgrel=2
......@@ -394,7 +397,6 @@ sha256sums=('SKIP'
'SKIP'
'SKIP')
# Possible replacements are listed in build/linux/unbundle/replace_gn_files.py
# Keys are the names in the above script; values are the dependencies in Arch
# plus any so names that are provided + linked
......@@ -428,6 +430,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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment