summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortaotieren2022-03-20 22:06:36 +0800
committertaotieren2022-03-20 22:06:36 +0800
commit4f608c27cc7774b79cb08f028736e9d9037478a5 (patch)
treec2757efa72a2cdeea375759205aec9f26ba43475
parent2c326661b054e5aab5cae38254165911f2602b9e (diff)
downloadaur-4f608c27cc7774b79cb08f028736e9d9037478a5.tar.gz
Update PKGBUILD
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6395230e500a..9ae30e9dc9f7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = csky-debugserver-bin
pkgdesc = C-Sky Debugger Server
pkgver = 5.12.9
- 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 47c408eba5ed..f9b60967f2bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=csky-debugserver-bin
pkgver=5.12.9
-pkgrel=1
+pkgrel=2
epoch=
pkgdesc="C-Sky Debugger Server"
arch=('x86_64')
@@ -42,8 +42,8 @@ package() {
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
-/opt/t-head/${pkgname%-bin}
+ 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