summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortaotieren2021-07-28 15:49:58 +0800
committertaotieren2021-07-28 15:49:58 +0800
commitf1b8df98c0593840f506714bd0103bc08127261a (patch)
treefe36a1cf5d2104a10590a0287eac55a45fe436b9
parentd4f9dc1c77b044ed28591c6aaff07ab0d58ffab4 (diff)
downloadaur-f1b8df98c0593840f506714bd0103bc08127261a.tar.gz
Update PKGBUILD
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9f9b59ae7e6..8fde351ba81 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = csky-debugserver-bin
pkgdesc = C-Sky Debugger Server
pkgver = 5.12.1
- pkgrel = 1
+ pkgrel = 2
url = https://occ.t-head.cn/community/download?id=616215132330000384
arch = x86_64
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index faa9bef07b1..8f8c57220e4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=csky-debugserver-bin
pkgver=5.12.1
_pkgver=V${pkgver}-20210716
-pkgrel=1
+pkgrel=2
epoch=
pkgdesc="C-Sky Debugger Server"
arch=('x86_64')
@@ -37,7 +37,6 @@ prepare(){
build(){
# Extract the installation file
tar -xf "${srcdir}/${pkgname}-${pkgver}.gz"
- echo "${srcdir}/T-HEAD_DebugServer" > csky-debug.conf
}
package() {
@@ -45,6 +44,8 @@ package() {
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"
+ echo "/opt/t-head/T-HEAD_DebugServer" > csky-debug.conf
+
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
#!/bin/env bash