Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages /
electron25
Commits:
32106d03 by Caleb Maclennan at 2023-10-06T14:50:48+03:00
Simplify flow control a little without subshell error issues
- - - - -
1 changed file:
- PKGBUILD
Changes:
=====================================
PKGBUILD
=====================================
@@ -129,10 +129,9 @@ EOF
--with_branch_heads \
--with_tags
- (
- cd src/electron || exit
- patch -Np1 -i ../../std-vector-non-const.patch
- )
+ pushd src/electron
+ patch -Np1 -i ../../std-vector-non-const.patch
+ popd
echo "Running hooks..."
# python "${srcdir}/depot_tools/gclient.py" runhooks
@@ -155,9 +154,9 @@ EOF
ln -sf /usr/bin/node src/third_party/node/linux/node-linux-x64/bin
src/electron/script/apply_all_patches.py \
src/electron/patches/config.json
- cd src/electron || exit
+ pushd src/electron
yarn install --frozen-lockfile
- cd ..
+ pushd ..
echo "Applying local patches..."
@@ -233,7 +232,7 @@ build() {
CFLAGS+=' -Wno-unknown-warning-option'
CXXFLAGS+=' -Wno-unknown-warning-option'
- cd src || exit
+ pushd src
export CHROMIUM_BUILDTOOLS_PATH="${PWD}/buildtools"
GN_EXTRA_ARGS='
custom_toolchain = "//build/toolchain/linux/unbundle:default"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/electron25/-/commit/32106d039b9424eeba5a86e1e946f13b161c9784
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/electron25/-/commit/32106d039b9424eeba5a86e1e946f13b161c9784
You're receiving this email because of your account on gitlab.archlinux.org.