diff options
author | zxp19821005 | 2023-12-18 13:05:34 +0800 |
---|---|---|
committer | zxp19821005 | 2023-12-18 13:05:34 +0800 |
commit | a20eb37505228d29051ab0b6720d49dc730782e9 (patch) | |
tree | b334b528247d3f2cc926314bbdb63bb59793240d | |
parent | 908c640ab360573b90ca12d8a51a05bb61005e58 (diff) | |
download | aur-a20eb37505228d29051ab0b6720d49dc730782e9.tar.gz |
update to 0.21.3
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 10 | ||||
-rw-r--r-- | lvce.sh | 5 |
3 files changed, 17 insertions, 16 deletions
@@ -1,6 +1,6 @@ pkgbase = lvce-bin pkgdesc = VS Code inspired text editor that mostly runs in a webworker - pkgver = 0.21.1 + pkgver = 0.21.3 pkgrel = 1 url = https://lvce-editor.github.io/lvce-editor arch = aarch64 @@ -8,15 +8,15 @@ pkgbase = lvce-bin arch = x86_64 license = MIT depends = electron28 - provides = lvce=0.21.1 + provides = lvce=0.21.3 conflicts = lvce source = lvce.sh - sha256sums = 8915ca75d453698df81f7f3305cce6869f4261d754d90f0c3724b73c7b24ca84 - source_aarch64 = lvce-0.21.1-aarch64.deb::https://github.com/lvce-editor/lvce-editor/releases/download/v0.21.1/lvce-v0.21.1_arm64.deb - sha256sums_aarch64 = c74972b5e74f30230837c4eef5d4c597f6f60a2e5757ac21d3ce571d0c29b0fa - source_armv7h = lvce-0.21.1-armv7h.deb::https://github.com/lvce-editor/lvce-editor/releases/download/v0.21.1/lvce-v0.21.1_armhf.deb - sha256sums_armv7h = f57c656c0a6b0101c1032114564206d53d035bb20ded3fa1cc7b64c8f1d29e99 - source_x86_64 = lvce-0.21.1-x86_64.deb::https://github.com/lvce-editor/lvce-editor/releases/download/v0.21.1/lvce-v0.21.1_amd64.deb - sha256sums_x86_64 = c833374b02b740ff681532860042b7a396e0d176fb5dd3474ef07b47d056c781 + sha256sums = ba4ed4aaf2c44af5118b06a3099a92ef3bdc969ed964ad508a857d37ae56fd3d + source_aarch64 = lvce-0.21.3-aarch64.deb::https://github.com/lvce-editor/lvce-editor/releases/download/v0.21.3/lvce-v0.21.3_arm64.deb + sha256sums_aarch64 = e5358443c99d4cb12564abac11901bc56a238053f4688dc035d6ca20f3e010ce + source_armv7h = lvce-0.21.3-armv7h.deb::https://github.com/lvce-editor/lvce-editor/releases/download/v0.21.3/lvce-v0.21.3_armhf.deb + sha256sums_armv7h = dacfb7fd3ebfdca65f48f660ea6b3a0f4f7c4a828e6909b788f75fb2b44a54c8 + source_x86_64 = lvce-0.21.3-x86_64.deb::https://github.com/lvce-editor/lvce-editor/releases/download/v0.21.3/lvce-v0.21.3_amd64.deb + sha256sums_x86_64 = 0abc943c34d34cf515adceff3ab02b2da96505ea274c536dc443073426cb3c7d pkgname = lvce-bin @@ -1,6 +1,6 @@ # Maintainer: zxp19821005 <zxp19821005 at 163 dot com> pkgname=lvce-bin -pkgver=0.21.1 +pkgver=0.21.3 _electronversion=28 pkgrel=1 pkgdesc="VS Code inspired text editor that mostly runs in a webworker" @@ -21,10 +21,10 @@ source_aarch64=("${pkgname%-bin}-${pkgver}-aarch64.deb::${_ghurl}/releases/downl source_armv7h=("${pkgname%-bin}-${pkgver}-armv7h.deb::${_ghurl}/releases/download/v${pkgver}/${pkgname%-bin}-v${pkgver}_armhf.deb") source_x86_64=("${pkgname%-bin}-${pkgver}-x86_64.deb::${_ghurl}/releases/download/v${pkgver}/${pkgname%-bin}-v${pkgver}_amd64.deb") source=("${pkgname%-bin}.sh") -sha256sums=('8915ca75d453698df81f7f3305cce6869f4261d754d90f0c3724b73c7b24ca84') -sha256sums_aarch64=('c74972b5e74f30230837c4eef5d4c597f6f60a2e5757ac21d3ce571d0c29b0fa') -sha256sums_armv7h=('f57c656c0a6b0101c1032114564206d53d035bb20ded3fa1cc7b64c8f1d29e99') -sha256sums_x86_64=('c833374b02b740ff681532860042b7a396e0d176fb5dd3474ef07b47d056c781') +sha256sums=('ba4ed4aaf2c44af5118b06a3099a92ef3bdc969ed964ad508a857d37ae56fd3d') +sha256sums_aarch64=('e5358443c99d4cb12564abac11901bc56a238053f4688dc035d6ca20f3e010ce') +sha256sums_armv7h=('dacfb7fd3ebfdca65f48f660ea6b3a0f4f7c4a828e6909b788f75fb2b44a54c8') +sha256sums_x86_64=('0abc943c34d34cf515adceff3ab02b2da96505ea274c536dc443073426cb3c7d') build() { sed -e "s|@electronversion@|${_electronversion}|" \ -e "s|@appname@|${pkgname%-bin}|g" \ @@ -1,10 +1,11 @@ #!/bin/bash set -e _APPDIR="/usr/lib/@appname@" +_ASAR="${_APPDIR}/@appasar@" export PATH="${_APPDIR}:${PATH}" -export ELECTRON_IS_DEV=0 export LD_LIBRARY_PATH="${_APPDIR}/swiftshader:${_APPDIR}/lib:${LD_LIBRARY_PATH}" -_ASAR="${_APPDIR}/@appasar@" +export ELECTRON_IS_DEV=0 +export NODE_ENV=production if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then cd "${_APPDIR}" exec electron@electronversion@ "${_ASAR}" "$@" |