diff options
author | taotieren | 2025-01-05 23:29:50 +0800 |
---|---|---|
committer | taotieren | 2025-01-05 23:29:50 +0800 |
commit | 19dff096498b5d66eabd0e50c23dce2fa87f605e (patch) | |
tree | 2b677f28ceddaa773d20408932345f2cbee5f42e /PKGBUILD | |
parent | e8ec096976e637fc70a934360ac339cced96d81c (diff) | |
download | aur-19dff096498b5d66eabd0e50c23dce2fa87f605e.tar.gz |
update 5.18.3
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 35 |
1 files changed, 19 insertions, 16 deletions
@@ -1,15 +1,20 @@ # Maintainer: taotieren <admin@taotieren.com> pkgname=csky-debugserver-bin -pkgver=5.16.11 +pkgver=5.18.3 pkgrel=1 epoch= pkgdesc="C-Sky Debugger Server" arch=('x86_64') -url="https://occ.t-head.cn/community/download?id=41336344657653" +url="https://www.xrvm.cn/community/download?id=4380347564587814912" license=('BSD') groups=() -depends=(bash) +depends=( + sh + gcc-libs + glibc + libusb +) makedepends=(libarchive) checkdepends=() optdepends=() @@ -17,22 +22,20 @@ provides=() conflicts=() replaces=() backup=() -options=(!strip) +options=(!strip !debug) install= changelog= -source=("T-Head Debugger Server User Guide ZH-CN v5.16.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1659579718572/T-Head+Debugger+Server+User+Guide+%28ZH-CN%29_v5.16.pdf" - "${pkgname}-${pkgver}.sh.tar.gz::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1691553051819/T-Head-DebugServer-linux-x86_64-V5.16.11-20230803.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") +source=( + "${pkgname}-${pkgver}.sh.tar.gz::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1732244327178/XuanTie-DebugServer-linux-x86_64-V5.18.3-20241119.sh.tar.gz" + "DebugServer User Guide_v5.18.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1732244783846/Debugger+Server+User+Guide%28ZH-CN%29_20241122.pdf" +) noextract=() -sha256sums=('2b64d17b6589ec5252ad610a79ba15857cc3257c970d3a0dee61d0358dca7162' - 'b6af02ab6dbd89e5cbd73fa153ebded9bb6d4730e58c588d165f61768b376e61' - '6a004189c409a66f550c676990c637b08cbad5f928fed6e0309caf95fe1e62c2' - '6a004189c409a66f550c676990c637b08cbad5f928fed6e0309caf95fe1e62c2') +sha256sums=('7f4de8c22050a8a591677b4cb5d783b47e53c213fd5fd5c2d93952704c578bfc' + 'e6161264c76f5028b55e34d48cbcaeb21829d73dbe94548cdb7b55f1d87de4b9') #validpgpkeys=() package() { - tail -n +282 "${srcdir}"/*${pkgver}*.sh > "${srcdir}/${pkgname}-${pkgver}.tar.gz" + tail -n +285 "${srcdir}"/*${pkgver}*.sh >"${srcdir}/${pkgname}-${pkgver}.tar.gz" install -dm0755 "${pkgdir}/opt/t-head/${pkgname%-bin}" @@ -40,13 +43,13 @@ package() { install -Dm0644 "${srcdir}"/*.pdf -t "${pkgdir}/opt/t-head/${pkgname%-bin}" - install -Dm0644 /dev/stdin "${pkgdir}/etc/profile.d/${pkgname%-bin}.csh" << EOF + install -Dm0644 /dev/stdin "${pkgdir}/etc/profile.d/${pkgname%-bin}.csh" <<EOF setenv PATH "${PATH}:/opt/t-head/${pkgname%-bin}" EOF - install -Dm0755 /dev/stdin "${pkgdir}/usr/bin/${pkgname%-bin}" << EOF + install -Dm0755 /dev/stdin "${pkgdir}/usr/bin/${pkgname%-bin}" <<EOF #!/bin/env bash export PATH=/opt/t-head/${pkgname%-bin}:\$PATH -DebugServerConsole.elf "\$@" +exec DebugServerConsole.elf "\$@" EOF } |