summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzxp198210052024-03-12 09:58:40 +0800
committerzxp198210052024-03-12 09:58:40 +0800
commite90977af9f806926b5af38f0d9fa3fd78e92f8b9 (patch)
tree5277ff7ad705a9d78bb8b273cacc847cb79f6cf0
parent1336d2ff8faaf6d9c487a7e1fff5cf4098194cdf (diff)
downloadaur-e90977af9f806926b5af38f0d9fa3fd78e92f8b9.tar.gz
update to 3.6.3
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD16
-rw-r--r--translationcore.sh8
3 files changed, 23 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6a2c0c1e743b..e779fa692995 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,22 @@
pkgbase = translationcore-bin
pkgdesc = An open source platform for checking and managing Bible translation projects
- pkgver = 3.6.2
- pkgrel = 4
+ pkgver = 3.6.3
+ pkgrel = 1
url = https://www.translationcore.com/
arch = aarch64
arch = x86_64
license = ISC
depends = electron25
depends = hicolor-icon-theme
- provides = translationcore=3.6.2
+ provides = translationcore=3.6.3
conflicts = translationcore
- source = LICENSE-3.6.2::https://raw.githubusercontent.com/unfoldingWord/translationCore/v3.6.2/LICENSE
+ source = LICENSE-3.6.3::https://raw.githubusercontent.com/unfoldingWord/translationCore/v3.6.3/LICENSE
source = translationcore.sh
sha256sums = a756bd73c46e3e9b85ff0222658f4c63851ebc5af63811adc4333ff618688417
- sha256sums = 0fb7b939a071f4a08476bdd5aa143d2aa8cd335c83309f9919be16cd5c3e2014
- source_aarch64 = translationcore-3.6.2-aarch64.deb::https://github.com/unfoldingWord/translationCore/releases/download/v3.6.2/tC-linux-arm64-3.6.2-MAX-d1f76d8.deb
- sha256sums_aarch64 = 4bd8a2ed2a6e669be107f64137bf085292659672d3e688f65801e747979a9fc3
- source_x86_64 = translationcore-3.6.2-x86_64.deb::https://github.com/unfoldingWord/translationCore/releases/download/v3.6.2/tC-linux-x64-3.6.2-MAX-d1f76d8.deb
- sha256sums_x86_64 = aa7ddffd5769f02270dc55f332bfd606823395176a3de63bb4d6c83dc952f39b
+ sha256sums = dc0c5ca385ad81a08315a91655c7c064b5bf110eada55e61265633ae198b39f8
+ source_aarch64 = translationcore-3.6.3-aarch64.deb::https://github.com/unfoldingWord/translationCore/releases/download/v3.6.3/tC-linux-arm64-3.6.3-MAX-e859026.deb
+ sha256sums_aarch64 = 2c9301f1e0866983cc7bae6a3a1cd0836a1b99d266a82b00487c9f59eb7c76d0
+ source_x86_64 = translationcore-3.6.3-x86_64.deb::https://github.com/unfoldingWord/translationCore/releases/download/v3.6.3/tC-linux-x64-3.6.3-MAX-e859026.deb
+ sha256sums_x86_64 = fd187859b5c081120b2a74c61d85427ca07c4aef1ec0e6acbead8fd141622911
pkgname = translationcore-bin
diff --git a/PKGBUILD b/PKGBUILD
index b2ffb5a86e02..3ad0e94ff1d1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,10 @@
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
pkgname=translationcore-bin
_pkgname=translationCore
-pkgver=3.6.2
+pkgver=3.6.3
+_subver=MAX-e859026
_electronversion=25
-pkgrel=4
+pkgrel=1
pkgdesc="An open source platform for checking and managing Bible translation projects"
arch=(
'aarch64'
@@ -18,20 +19,21 @@ depends=(
"electron${_electronversion}"
'hicolor-icon-theme'
)
-source_aarch64=("${pkgname%-bin}-${pkgver}-aarch64.deb::${_ghurl}/releases/download/v${pkgver}/tC-linux-arm64-${pkgver}-MAX-d1f76d8.deb")
-source_x86_64=("${pkgname%-bin}-${pkgver}-x86_64.deb::${_ghurl}/releases/download/v${pkgver}/tC-linux-x64-${pkgver}-MAX-d1f76d8.deb")
+source_aarch64=("${pkgname%-bin}-${pkgver}-aarch64.deb::${_ghurl}/releases/download/v${pkgver}/tC-linux-arm64-${pkgver}-${_subver}.deb")
+source_x86_64=("${pkgname%-bin}-${pkgver}-x86_64.deb::${_ghurl}/releases/download/v${pkgver}/tC-linux-x64-${pkgver}-${_subver}.deb")
source=(
"LICENSE-${pkgver}::https://raw.githubusercontent.com/unfoldingWord/translationCore/v${pkgver}/LICENSE"
"${pkgname%-bin}.sh"
)
sha256sums=('a756bd73c46e3e9b85ff0222658f4c63851ebc5af63811adc4333ff618688417'
- '0fb7b939a071f4a08476bdd5aa143d2aa8cd335c83309f9919be16cd5c3e2014')
-sha256sums_aarch64=('4bd8a2ed2a6e669be107f64137bf085292659672d3e688f65801e747979a9fc3')
-sha256sums_x86_64=('aa7ddffd5769f02270dc55f332bfd606823395176a3de63bb4d6c83dc952f39b')
+ 'dc0c5ca385ad81a08315a91655c7c064b5bf110eada55e61265633ae198b39f8')
+sha256sums_aarch64=('2c9301f1e0866983cc7bae6a3a1cd0836a1b99d266a82b00487c9f59eb7c76d0')
+sha256sums_x86_64=('fd187859b5c081120b2a74c61d85427ca07c4aef1ec0e6acbead8fd141622911')
build() {
sed -e "s|@electronversion@|${_electronversion}|" \
-e "s|@appname@|${pkgname%-bin}|g" \
-e "s|@runname@|app.asar|g" \
+ -e "s|@options@||g" \
-i "${srcdir}/${pkgname%-bin}.sh"
bsdtar -xf "${srcdir}/data."*
sed "s|/opt/${pkgname%-bin}/${_pkgname}|${pkgname%-bin}|g;s|unfoldingword-${pkgname%-bin}|${pkgname%-bin}|g" \
diff --git a/translationcore.sh b/translationcore.sh
index f9ced1432cfc..7ddcaab8d734 100644
--- a/translationcore.sh
+++ b/translationcore.sh
@@ -1,14 +1,16 @@
-#!/bin/sh
+#!/bin/bash
set -e
_APPDIR="/usr/lib/@appname@"
_RUNNAME="${_APPDIR}/@runname@"
+_OPTIONS="@options@"
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 NODE_ENV=production
cd "${_APPDIR}"
if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then
- exec electron@electronversion@ "${_RUNNAME}" "$@" || exit $?
+ exec electron@electronversion@ "${_RUNNAME}" "${_OPTIONS}" "$@" || exit $?
else
- exec electron@electronversion@ "${_RUNNAME}" --no-sandbox "$@" || exit $?
+ exec electron@electronversion@ "${_RUNNAME}" "${_OPTIONS}" --no-sandbox "$@" || exit $?
fi \ No newline at end of file