summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzxp198210052024-05-06 19:10:36 +0800
committerzxp198210052024-05-06 19:10:36 +0800
commit47af1d8fa6c618721ef88e52180af9d43fc80bef (patch)
tree0623d6b18a822404933fb1e9ab3a1b83e0d08b67
parent78f5bac6e1295bc83426812670c9c2203767789f (diff)
downloadaur-47af1d8fa6c618721ef88e52180af9d43fc80bef.tar.gz
update to 2.11.9
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD10
-rw-r--r--icalingua++.sh19
3 files changed, 32 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e54b5937f7bb..5ed79793904c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = icalingua++-bin
pkgdesc = A branch of deleted Icalingua, with limited support
- pkgver = 2.11.6
+ pkgver = 2.11.9
pkgrel = 1
url = https://github.com/Icalingua-plus-plus/Icalingua-plus-plus
arch = aarch64
@@ -8,20 +8,20 @@ pkgbase = icalingua++-bin
arch = x86_64
license = AGPL-3.0-only
depends = electron22
- provides = icalingua++=2.11.6
+ provides = icalingua++=2.11.9
conflicts = icalingua++
conflicts = icalingua++-electron
- source = icalingua++-2.11.6.png::https://raw.githubusercontent.com/Icalingua-plus-plus/Icalingua-plus-plus/develop/pkgres/512x512.png
- source = icalingua++-2.11.6.desktop::https://raw.githubusercontent.com/Icalingua-plus-plus/Icalingua-plus-plus/develop/pkgres/icalingua.desktop
+ source = icalingua++-2.11.9.png::https://raw.githubusercontent.com/Icalingua-plus-plus/Icalingua-plus-plus/develop/pkgres/512x512.png
+ source = icalingua++-2.11.9.desktop::https://raw.githubusercontent.com/Icalingua-plus-plus/Icalingua-plus-plus/develop/pkgres/icalingua.desktop
source = icalingua++.sh
sha256sums = 5743ef3d19be5e41e83c3a1171a807cd0505d7f5d5f9c5abdff8926dccadc6de
sha256sums = b088d20934708c53e50492694efefbf9a9dcb62fefb8d1d4976f36f32f84af86
- sha256sums = dc0c5ca385ad81a08315a91655c7c064b5bf110eada55e61265633ae198b39f8
- source_aarch64 = icalingua++-2.11.6-aarch64.asar::https://github.com/Icalingua-plus-plus/Icalingua-plus-plus/releases/download/v2.11.6/app-arm64.asar
- sha256sums_aarch64 = 8dc9639f20d9a7737bafcb7bcccaca9462e7553ae92ffc23febd25c3d30f9e5a
- source_armv7h = icalingua++-2.11.6-armv7h.asar::https://github.com/Icalingua-plus-plus/Icalingua-plus-plus/releases/download/v2.11.6/app-armv7l.asar
- sha256sums_armv7h = 8a06c628b420653a3960139641c15014c75eaf4492dbd6ce01662f89fadfe082
- source_x86_64 = icalingua++-2.11.6-x86_64.asar::https://github.com/Icalingua-plus-plus/Icalingua-plus-plus/releases/download/v2.11.6/app-x86_64.asar
- sha256sums_x86_64 = 196a7dbe19c4e23bcaedbbac57e40144eacda2c29e4199fa2b281b3954af4f41
+ sha256sums = 05762c556c85a4423b28600ccbbe7b7dcdd3d1be526ef4a588a510671fa6c62a
+ source_aarch64 = icalingua++-2.11.9-aarch64.asar::https://github.com/Icalingua-plus-plus/Icalingua-plus-plus/releases/download/v2.11.9/app-arm64.asar
+ sha256sums_aarch64 = 44d655b4d66d89d302c533860f397ef275fe8f6251b4eba1a44de048bd3f9158
+ source_armv7h = icalingua++-2.11.9-armv7h.asar::https://github.com/Icalingua-plus-plus/Icalingua-plus-plus/releases/download/v2.11.9/app-armv7l.asar
+ sha256sums_armv7h = 020b58b0714158c87e70c45253b1d7f12fa9455b53f2716000d33b88d284838b
+ source_x86_64 = icalingua++-2.11.9-x86_64.asar::https://github.com/Icalingua-plus-plus/Icalingua-plus-plus/releases/download/v2.11.9/app-x86_64.asar
+ sha256sums_x86_64 = b80e771e34086331e2ab025adc137cc8ef7cb3fccc020dcbea8043494de6e262
pkgname = icalingua++-bin
diff --git a/PKGBUILD b/PKGBUILD
index c5bf09914b48..f4f6e6435d18 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
pkgname=icalingua++-bin
-pkgver=2.11.6
+pkgver=2.11.9
_electronversion=22
pkgrel=1
pkgdesc="A branch of deleted Icalingua, with limited support"
@@ -29,10 +29,10 @@ source=(
)
sha256sums=('5743ef3d19be5e41e83c3a1171a807cd0505d7f5d5f9c5abdff8926dccadc6de'
'b088d20934708c53e50492694efefbf9a9dcb62fefb8d1d4976f36f32f84af86'
- 'dc0c5ca385ad81a08315a91655c7c064b5bf110eada55e61265633ae198b39f8')
-sha256sums_aarch64=('8dc9639f20d9a7737bafcb7bcccaca9462e7553ae92ffc23febd25c3d30f9e5a')
-sha256sums_armv7h=('8a06c628b420653a3960139641c15014c75eaf4492dbd6ce01662f89fadfe082')
-sha256sums_x86_64=('196a7dbe19c4e23bcaedbbac57e40144eacda2c29e4199fa2b281b3954af4f41')
+ '05762c556c85a4423b28600ccbbe7b7dcdd3d1be526ef4a588a510671fa6c62a')
+sha256sums_aarch64=('44d655b4d66d89d302c533860f397ef275fe8f6251b4eba1a44de048bd3f9158')
+sha256sums_armv7h=('020b58b0714158c87e70c45253b1d7f12fa9455b53f2716000d33b88d284838b')
+sha256sums_x86_64=('b80e771e34086331e2ab025adc137cc8ef7cb3fccc020dcbea8043494de6e262')
build() {
sed -e "s|@electronversion@|${_electronversion}|g" \
-e "s|@appname@|${pkgname%-bin}|g" \
diff --git a/icalingua++.sh b/icalingua++.sh
index 7ddcaab8d734..5594e5380ba2 100644
--- a/icalingua++.sh
+++ b/icalingua++.sh
@@ -7,10 +7,23 @@ export PATH="${_APPDIR}:${PATH}"
export LD_LIBRARY_PATH="${_APPDIR}/swiftshader:${_APPDIR}/lib:${LD_LIBRARY_PATH}"
export ELECTRON_IS_DEV=0
export ELECTRON_FORCE_IS_PACKAGED=true
+export ELECTRON_DISABLE_SECURITY_WARNINGS=true
+export ELECTRON_OVERRIDE_DIST_PATH="/usr/bin/electron@electronversion@"
export NODE_ENV=production
+export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
+_FLAGS_FILE="${XDG_CONFIG_HOME}/@appname@-flags.conf"
+declare -a flags
+if [[ -f "${_FLAGS_FILE}" ]]; then
+ mapfile -t < "${_FLAGS_FILE}"
+fi
+for line in "${MAPFILE[@]}"; do
+ if [[ ! "${line}" =~ ^[[:space:]]*#.* ]] && [[ -n "${line}" ]]; then
+ flags+=("${line}")
+ fi
+done
cd "${_APPDIR}"
-if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then
- exec electron@electronversion@ "${_RUNNAME}" "${_OPTIONS}" "$@" || exit $?
+if [[ "${EUID}" -ne 0 ]] || [[ "${ELECTRON_RUN_AS_NODE}" ]]; then
+ exec electron@electronversion@ "${_RUNNAME}" "${_OPTIONS}" "${_USER_FLAGS}" "$@" || exit $?
else
- exec electron@electronversion@ "${_RUNNAME}" "${_OPTIONS}" --no-sandbox "$@" || exit $?
+ exec electron@electronversion@ "${_RUNNAME}" "${_OPTIONS}" --no-sandbox "${_USER_FLAGS}" "$@" || exit $?
fi \ No newline at end of file