summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsukanka2024-04-04 00:05:14 +0800
committersukanka2024-04-04 00:05:14 +0800
commitf50a5ab5c9e35f4a193be6ba99c5101745596ebc (patch)
tree3ed9664bc1ea9913aaa85dd4804103085b85f64e
parentc2b7f365c8af5cb286d4ce3c5bbdd559ddd8541e (diff)
downloadaur-f50a5ab5c9e35f4a193be6ba99c5101745596ebc.tar.gz
update to 3.2.7_240403
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD18
-rwxr-xr-xstart.sh4
3 files changed, 18 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 23d72cb1eeb6..ece0644e8aa9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = linuxqq-nt-bwrap
pkgdesc = New Linux QQ based on Electron, with bubblewrap sandbox and some tweaks
- pkgver = 3.2.7_22578
+ pkgver = 3.2.7_240403
pkgrel = 1
url = https://im.qq.com/linuxqq/index.shtml
install = linuxqq-nt-bwrap.install
@@ -34,14 +34,14 @@ pkgbase = linuxqq-nt-bwrap
source = start.sh
source = config.json
source = xdg-open.sh
- sha256sums = 61f20e40a8fa02052f3d0bc8d5e84fa7a3fdd60ecc8df417d5084396af680411
+ sha256sums = 01eb16521b9cfc993bbc91b3ebd8c8ab521e0cb63996a60fbcd1050b1184a676
sha256sums = bb2ec0f104da4da7422d9b0f51c71d0ab38ed2a21764a7a643ab42689e098e4b
sha256sums = 99d7fe8dd193ebc06ba450a3e868d778e1dbe5938b726a67fadddc0c9ad9cab1
- source_x86_64 = https://dldir1.qq.com/qqfile/qq/QQNT/1e486dc4/linuxqq_3.2.7-22578_amd64.deb
- sha256sums_x86_64 = 23abf885b92681358ebf89023682260b01c703c9d995a95c295ba58c93c58157
- source_aarch64 = https://dldir1.qq.com/qqfile/qq/QQNT/1e486dc4/linuxqq_3.2.7-22578_arm64.deb
- sha256sums_aarch64 = c776c414b5096d67a1d98550626258a8e49efc02d0deac78e9f030a87ff7e69a
- source_loong64 = https://dldir1.qq.com/qqfile/qq/QQNT/1e486dc4/linuxqq_3.2.7-22578_loongarch64.deb
- sha256sums_loong64 = 54df03890ae5145e186e934400e19503bf7cc98d6d0ba644d46740f5eae843c7
+ source_x86_64 = https://dldir1.qq.com/qqfile/qq/QQNT/Linux/QQ_3.2.7_240403_amd64_01.deb
+ sha256sums_x86_64 = ed77719082c891630124b77fc73efd4aacad30978361bae17b11f1bf60b8d365
+ source_aarch64 = https://dldir1.qq.com/qqfile/qq/QQNT/Linux/QQ_3.2.7_240403_arm64_01.deb
+ sha256sums_aarch64 = 5d4a7a1b0d33f504a6fea4ee6204c9d6637f4f760dd7ab55fbf41869157dbabb
+ source_loong64 = https://dldir1.qq.com/qqfile/qq/QQNT/Linux/QQ_3.2.7_240403_loongarch64_01.deb
+ sha256sums_loong64 = 15207fe5c738c3622c9b7c5b1fecbee8a8234d13ac5f7b386d98c1c888e7e2a4
pkgname = linuxqq-nt-bwrap
diff --git a/PKGBUILD b/PKGBUILD
index 690e8495c56b..98ef243c9b97 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,10 +2,8 @@
# Maintainer: sukanka
_pkgname=linuxqq
-_base_pkgver=3.2.7-22578
+_base_pkgver=3.2.7_240403
_update_pkgver=${_base_pkgver}
-_base_pkgver_hash=1e486dc4
-# _update_pkgver_hash=c893f6be
pkgname=linuxqq-nt-bwrap
pkgver="${_update_pkgver//-/_}"
pkgrel=1
@@ -25,18 +23,18 @@ provides=('qq' 'linuxqq')
conflicts=('linuxqq')
options=('!emptydirs')
install="${pkgname}.install"
-source_x86_64=("https://dldir1.qq.com/qqfile/qq/QQNT/${_base_pkgver_hash}/linuxqq_${_base_pkgver}_amd64.deb") # 底包
+source_x86_64=("https://dldir1.qq.com/qqfile/qq/QQNT/Linux/QQ_${_base_pkgver}_amd64_01.deb") # 底包
# "https://qqpatch.gtimg.cn/hotUpdate_new/release/linux-x64/${pkgver//_/-}/${_update_pkgver_hash}/${pkgver//_/-}.zip.zip" ) # 热更新补丁
-source_aarch64=("https://dldir1.qq.com/qqfile/qq/QQNT/${_base_pkgver_hash}/linuxqq_${_base_pkgver}_arm64.deb") # 底包
+source_aarch64=("https://dldir1.qq.com/qqfile/qq/QQNT/Linux/QQ_${_base_pkgver}_arm64_01.deb") # 底包
# "https://qqpatch.gtimg.cn/hotUpdate_new/release/linux-arm64/${pkgver//_/-}/${_update_pkgver_hash}/${pkgver//_/-}.zip.zip" ) # 热更新补丁
-source_loong64=("https://dldir1.qq.com/qqfile/qq/QQNT/${_base_pkgver_hash}/linuxqq_${_base_pkgver}_loongarch64.deb") # 底包
+source_loong64=("https://dldir1.qq.com/qqfile/qq/QQNT/Linux/QQ_${_base_pkgver}_loongarch64_01.deb") # 底包
source=('start.sh' 'config.json' 'xdg-open.sh')
-sha256sums=('61f20e40a8fa02052f3d0bc8d5e84fa7a3fdd60ecc8df417d5084396af680411'
+sha256sums=('01eb16521b9cfc993bbc91b3ebd8c8ab521e0cb63996a60fbcd1050b1184a676'
'bb2ec0f104da4da7422d9b0f51c71d0ab38ed2a21764a7a643ab42689e098e4b'
'99d7fe8dd193ebc06ba450a3e868d778e1dbe5938b726a67fadddc0c9ad9cab1')
-sha256sums_x86_64=('23abf885b92681358ebf89023682260b01c703c9d995a95c295ba58c93c58157')
-sha256sums_aarch64=('c776c414b5096d67a1d98550626258a8e49efc02d0deac78e9f030a87ff7e69a')
-sha256sums_loong64=('54df03890ae5145e186e934400e19503bf7cc98d6d0ba644d46740f5eae843c7')
+sha256sums_x86_64=('ed77719082c891630124b77fc73efd4aacad30978361bae17b11f1bf60b8d365')
+sha256sums_aarch64=('5d4a7a1b0d33f504a6fea4ee6204c9d6637f4f760dd7ab55fbf41869157dbabb')
+sha256sums_loong64=('15207fe5c738c3622c9b7c5b1fecbee8a8234d13ac5f7b386d98c1c888e7e2a4')
prepare() {
local base_ver=${_base_pkgver}
diff --git a/start.sh b/start.sh
index 55ce42fab23f..7aed024dce5f 100755
--- a/start.sh
+++ b/start.sh
@@ -73,9 +73,9 @@ fi
# 处理旧版本
rm -rf "${QQ_HOTUPDATE_DIR}/"**".zip"
-is_hotupdated_version=0 # 正在运行的版本是否经过热更新?
+is_hotupdated_version=0 # 正在运行的版本是否经过热更新?
-find "${QQ_HOTUPDATE_DIR}/"*-* -maxdepth 1 -type "d,l" | while read path; do
+find "${QQ_HOTUPDATE_DIR}/"*[-_]* -maxdepth 1 -type "d,l" | while read path; do
this_version="$(basename "$path")"
if [ "$(vercmp "${this_version}" "${QQ_HOTUPDATE_VERSION//_/-}")" -lt "0" ]; then
# 这个版本小于当前版本,删除之