summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD15
2 files changed, 14 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6623fd6fd36..6395230e500 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,19 @@
pkgbase = csky-debugserver-bin
pkgdesc = C-Sky Debugger Server
- pkgver = 5.12.1
- pkgrel = 2
+ pkgver = 5.12.9
+ pkgrel = 1
url = https://occ.t-head.cn/community/download?id=616215132330000384
arch = x86_64
license = BSD
makedepends = tar
depends = bash
options = !strip
- source = csky-debugserver-bin-5.12.1.tar.gz::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1836682/1626764200205/T-Head-DebugServer-linux-x86_64-V5.12.1-20210716.sh.tar.gz
+ source = T-Head Debugger Server User Guide v5.12.9.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1836682/1637637514397/T-Head+Debugger+Server+User+Guide.pdf
+ source = csky-debugserver-bin-5.12.9.tar.gz::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1836682/1637637575339/T-Head-DebugServer-linux-x86_64-V5.12.9-20211116.sh.tar.gz
source = DebugServer User Guide_v5.10.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1355977/1588909480730/C-Sky+Debugger+Server+User+Guide_v5.10.pdf
source = DebugServer User Guide v5.6.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1355977/1588916696490/C-Sky+Debugger+Server+User+Guide+v5.6.pdf
- sha256sums = 054dd396aaf13adf409e31e2ad64e408843f27b892ed5175625bc1a3c781ff75
+ sha256sums = c45fd650f4fc1cd792202d3392a0b19d5434d68e99167676550ea014b090adf1
+ sha256sums = bf1033418b927a1e989f7618425192ba6b80879fe1e46f6593a9180c30e408cc
sha256sums = 6a004189c409a66f550c676990c637b08cbad5f928fed6e0309caf95fe1e62c2
sha256sums = 6a004189c409a66f550c676990c637b08cbad5f928fed6e0309caf95fe1e62c2
diff --git a/PKGBUILD b/PKGBUILD
index 6da6aed00f8..47c408eba5e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: taotieren <admin@taotieren.com>
pkgname=csky-debugserver-bin
-pkgver=5.12.1
-pkgrel=2
+pkgver=5.12.9
+pkgrel=1
epoch=
pkgdesc="C-Sky Debugger Server"
arch=('x86_64')
@@ -20,12 +20,13 @@ backup=()
options=('!strip')
install=
changelog=
-source=(
- "${pkgname}-${pkgver}.tar.gz::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1836682/1626764200205/T-Head-DebugServer-linux-x86_64-V5.12.1-20210716.sh.tar.gz"
+source=("T-Head Debugger Server User Guide v5.12.9.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1836682/1637637514397/T-Head+Debugger+Server+User+Guide.pdf"
+ "${pkgname}-${pkgver}.tar.gz::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1836682/1637637575339/T-Head-DebugServer-linux-x86_64-V5.12.9-20211116.sh.tar.gz"
"DebugServer User Guide_v5.10.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1355977/1588909480730/C-Sky+Debugger+Server+User+Guide_v5.10.pdf"
"DebugServer User Guide v5.6.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1355977/1588916696490/C-Sky+Debugger+Server+User+Guide+v5.6.pdf")
noextract=()
-sha256sums=('054dd396aaf13adf409e31e2ad64e408843f27b892ed5175625bc1a3c781ff75'
+sha256sums=('c45fd650f4fc1cd792202d3392a0b19d5434d68e99167676550ea014b090adf1'
+ 'bf1033418b927a1e989f7618425192ba6b80879fe1e46f6593a9180c30e408cc'
'6a004189c409a66f550c676990c637b08cbad5f928fed6e0309caf95fe1e62c2'
'6a004189c409a66f550c676990c637b08cbad5f928fed6e0309caf95fe1e62c2')
#validpgpkeys=()
@@ -33,12 +34,12 @@ sha256sums=('054dd396aaf13adf409e31e2ad64e408843f27b892ed5175625bc1a3c781ff75'
prepare(){
# Decrypt gzexe encrypted shell script
# Origin file 92 Line: tail -n +$LNUM $0 > tmp.tar.gz
- tail -n +282 "${srcdir}"/*.sh > "${srcdir}/${pkgname}-${pkgver}.gz"
+ tail -n +282 "${srcdir}"/*.sh > "${srcdir}/${pkgname}-${pkgver}.tar.gz"
}
package() {
install -dm0755 "${pkgdir}/opt/t-head/${pkgname%-bin}"
- tar -xf "${srcdir}/${pkgname}-${pkgver}.gz" --no-same-owner --no-same-permissions --strip-components=1 -C "${pkgdir}/opt/t-head/${pkgname%-bin}"
+ tar -xf "${srcdir}/${pkgname}-${pkgver}.tar.gz" --no-same-owner --no-same-permissions --strip-components=1 -C "${pkgdir}/opt/t-head/${pkgname%-bin}"
cp -r "${srcdir}"/*.pdf "${pkgdir}/opt/t-head/${pkgname%-bin}"
install -Dm0644 /dev/stdin "${pkgdir}/etc/ld.so.conf.d/${pkgname%-bin}.conf" << EOF