summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsukanka2023-06-14 23:15:46 +0800
committersukanka2023-06-14 23:15:46 +0800
commit96152feb8f4fccde579263eeb3f7446ac008c881 (patch)
treeafc8687d5b4b0b965f30504ec02f8d5a044e729a
parent9150cbd7cfba9d533b6a59fab85857707d77cb78 (diff)
downloadaur-96152feb8f4fccde579263eeb3f7446ac008c881.tar.gz
update shasum and ro-bind matchine-id
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD16
-rwxr-xr-xstart.sh1
3 files changed, 11 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7dd795dccfa0..c3edff26d020 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linuxqq-nt-bwrap
pkgdesc = New Linux QQ based on Electron, with bubblewrap sandbox and some tweaks
pkgver = 3.1.2_13107
- pkgrel = 1
+ pkgrel = 2
url = https://im.qq.com/linuxqq/index.shtml
install = linuxqq-nt-bwrap.install
arch = x86_64
@@ -33,7 +33,7 @@ pkgbase = linuxqq-nt-bwrap
source = start.sh
source = config.json
source = xdg-open.sh
- sha256sums = 4553d9480502a75448e7f0dd0811068269a3a7781dd0d341644b0a8f822472e5
+ sha256sums = 475cf924e27999dcbd7af9314091b681f99f3bdef3bdffe0719a44cf1e0941d8
sha256sums = 182e3cc60e9c7f4643043c398f42b7d021bce4e79490e043de195056aa851481
sha256sums = 78a573867355fb4c3e728d0c8ac0746d47fa7d64f90ee2b62ee9f0ccae095edb
source_x86_64 = https://dldir1.qq.com/qqfile/qq/QQNT/2355235c/linuxqq_3.1.1-11223_amd64.deb
diff --git a/PKGBUILD b/PKGBUILD
index ba29d5590b14..9dbd43bb1fae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ _update_pkgver_hash=c893f6be
pkgname=linuxqq-nt-bwrap
pkgver="${_update_pkgver}"
-pkgrel=1
+pkgrel=2
pkgdesc="New Linux QQ based on Electron, with bubblewrap sandbox and some tweaks"
arch=('x86_64' 'aarch64') # 龙架构版本停留在 3.1.0 未更新,故不纳入此包中
url='https://im.qq.com/linuxqq/index.shtml'
@@ -27,13 +27,13 @@ source_x86_64=("https://dldir1.qq.com/qqfile/qq/QQNT/${_base_pkgver_hash}/linuxq
source_aarch64=("https://dldir1.qq.com/qqfile/qq/QQNT/${_base_pkgver_hash}/linuxqq_${_base_pkgver//_/-}_arm64.deb" # 底包
"https://qqpatch.gtimg.cn/hotUpdate_new/release/linux-arm64/${pkgver//_/-}/${_update_pkgver_hash}/${pkgver//_/-}.zip.zip" ) # 热更新补丁
source=('start.sh' 'config.json' 'xdg-open.sh')
-sha256sums_x86_64=('4c1810ef357e8ee077292808217bafc67626be79ccff5ff05341248a8a48aaf6' # 底包
- '7a1d235b714864b0b62e39f10adbd4bd3b890017168a39e9c97a346931901b35') # 热更新补丁
-sha256sums_aarch64=('d5b6bf200ffe5ffb3b8d4b48861dceb011d4ecc3e0806ac04ac04fc7c7ae041b' # 底包
- '7a1d235b714864b0b62e39f10adbd4bd3b890017168a39e9c97a346931901b35') # 热更新补丁
-sha256sums=('4553d9480502a75448e7f0dd0811068269a3a7781dd0d341644b0a8f822472e5' # start.sh
- '182e3cc60e9c7f4643043c398f42b7d021bce4e79490e043de195056aa851481' # config.json
- '78a573867355fb4c3e728d0c8ac0746d47fa7d64f90ee2b62ee9f0ccae095edb') # xdg-open.sh
+sha256sums=('475cf924e27999dcbd7af9314091b681f99f3bdef3bdffe0719a44cf1e0941d8'
+ '182e3cc60e9c7f4643043c398f42b7d021bce4e79490e043de195056aa851481'
+ '78a573867355fb4c3e728d0c8ac0746d47fa7d64f90ee2b62ee9f0ccae095edb')
+sha256sums_x86_64=('4c1810ef357e8ee077292808217bafc67626be79ccff5ff05341248a8a48aaf6'
+ '7a1d235b714864b0b62e39f10adbd4bd3b890017168a39e9c97a346931901b35')
+sha256sums_aarch64=('d5b6bf200ffe5ffb3b8d4b48861dceb011d4ecc3e0806ac04ac04fc7c7ae041b'
+ '7a1d235b714864b0b62e39f10adbd4bd3b890017168a39e9c97a346931901b35')
package() {
# 解压程序包
diff --git a/start.sh b/start.sh
index c0f48c12fd26..faf092676ed0 100755
--- a/start.sh
+++ b/start.sh
@@ -75,6 +75,7 @@ bwrap --new-session --cap-drop ALL --unshare-user-try --unshare-pid --unshare-cg
--ro-bind /opt/QQ/workarounds/xdg-open.sh /usr/bin/xdg-open \
--ro-bind /usr/lib/snapd-xdg-open/xdg-open /snapd-xdg-open \
--ro-bind /usr/lib/flatpak-xdg-utils/xdg-open /flatpak-xdg-open \
+ --ro-bind /etc/machine-id /etc/machine-id \
--dev-bind /dev /dev \
--ro-bind /sys /sys \
--ro-bind /etc/passwd /etc/passwd \