summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortaotieren2021-07-28 15:18:05 +0800
committertaotieren2021-07-28 15:18:05 +0800
commitd4f9dc1c77b044ed28591c6aaff07ab0d58ffab4 (patch)
tree17b0ecec076dadf50d4ebf2edc2390308c396871
parent094d1a03cfad1fa86e58f0e112652440b064dd2b (diff)
downloadaur-d4f9dc1c77b044ed28591c6aaff07ab0d58ffab4.tar.gz
Update v5.12.1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD15
2 files changed, 11 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 619018551c6..9f9b59ae7e6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = csky-debugserver-bin
pkgdesc = C-Sky Debugger Server
- pkgver = V5.10.13_20210416
+ pkgver = 5.12.1
pkgrel = 1
url = https://occ.t-head.cn/community/download?id=616215132330000384
arch = x86_64
@@ -8,9 +8,9 @@ pkgbase = csky-debugserver-bin
makedepends = tar
depends = bash
options = !strip
- source = csky-debugserver-bin-V5.10.13_20210416.tar.gz::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1356021/1618899426711/CSKY-DebugServer-linux-x86_64-V5.10.13-20210416.sh.tar.gz
+ 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 = https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1355977/1588909480730/C-Sky+Debugger+Server+User+Guide_v5.10.pdf
- sha256sums = 6d58cb0cbf77e3b5ba74277fa7a0dfc65df2dd1b22d574c13fa3fc445784e355
+ sha256sums = 054dd396aaf13adf409e31e2ad64e408843f27b892ed5175625bc1a3c781ff75
sha256sums = 6a004189c409a66f550c676990c637b08cbad5f928fed6e0309caf95fe1e62c2
pkgname = csky-debugserver-bin
diff --git a/PKGBUILD b/PKGBUILD
index 96f110b73bf..faa9bef07b1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
# Maintainer: taotieren <admin@taotieren.com>
pkgname=csky-debugserver-bin
-pkgver=V5.10.13_20210416
+pkgver=5.12.1
+_pkgver=V${pkgver}-20210716
pkgrel=1
epoch=
pkgdesc="C-Sky Debugger Server"
@@ -20,29 +21,29 @@ backup=()
options=('!strip')
install=
changelog=
-source=("${pkgname}-${pkgver}.tar.gz::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1356021/1618899426711/CSKY-DebugServer-linux-${arch}-${pkgver/_/-}.sh.tar.gz"
+source=("${pkgname}-${pkgver}.tar.gz::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1836682/1626764200205/T-Head-DebugServer-linux-${arch}-${_pkgver}.sh.tar.gz"
"https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1355977/1588909480730/C-Sky+Debugger+Server+User+Guide_v5.10.pdf")
noextract=()
-sha256sums=('6d58cb0cbf77e3b5ba74277fa7a0dfc65df2dd1b22d574c13fa3fc445784e355'
+sha256sums=('054dd396aaf13adf409e31e2ad64e408843f27b892ed5175625bc1a3c781ff75'
'6a004189c409a66f550c676990c637b08cbad5f928fed6e0309caf95fe1e62c2')
#validpgpkeys=()
prepare(){
# Decrypt gzexe encrypted shell script
# Origin file 92 Line: tail -n +$LNUM $0 > tmp.tar.gz
- tail -n +277 "${srcdir}/CSKY-DebugServer-linux-${arch}-${pkgver/_/-}.sh" > "${srcdir}/${pkgname}-${pkgver}.gz"
+ tail -n +282 "${srcdir}/T-Head-DebugServer-linux-${arch}-${_pkgver}.sh" > "${srcdir}/${pkgname}-${pkgver}.gz"
}
build(){
# Extract the installation file
tar -xf "${srcdir}/${pkgname}-${pkgver}.gz"
- echo "${srcdir}/C-Sky_DebugServer" > csky-debug.conf
+ echo "${srcdir}/T-HEAD_DebugServer" > csky-debug.conf
}
package() {
install -dm0755 "${pkgdir}/opt/t-head"
- cp -r "${srcdir}/C-Sky_DebugServer" "${pkgdir}/opt/t-head"
- cp -r "${srcdir}/C-Sky+Debugger+Server+User+Guide_v5.10.pdf" "${pkgdir}/opt/t-head/C-Sky_DebugServer"
+ cp -r "${srcdir}/T-HEAD_DebugServer" "${pkgdir}/opt/t-head"
+ cp -r "${srcdir}/C-Sky+Debugger+Server+User+Guide_v5.10.pdf" "${pkgdir}/opt/t-head/T-HEAD_DebugServer"
install -Dm0644 "${srcdir}/csky-debug.conf" "${pkgdir}/etc/ld.so.conf.d/csky-debug.conf"
install -Dm0755 /dev/stdin "${pkgdir}/usr/bin/${pkgname%-bin}" << EOF