summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authortaotieren2021-12-13 23:09:48 +0800
committertaotieren2021-12-13 23:09:48 +0800
commit6ec7440ed1aa706fd5ef65d907586b9f85a07ce8 (patch)
treeb05ee820f572ec5e4e931793b8bbd46fd0a24989 /PKGBUILD
parent8b8fd3a37be0952f715cb045b2f485f7fba1c9a8 (diff)
downloadaur-6ec7440ed1aa706fd5ef65d907586b9f85a07ce8.tar.gz
update 2.0.3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 17 insertions, 18 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9b150aa973cc..ab6a642696ab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,49 +2,48 @@
pkgbase=csky-toolchain-900-series-bin
pkgname=($pkgbase csky-riscv64-linux-900-series-bin csky-riscv64-elf-900-series-bin csky-toolchain-900-series-guide-bin)
-pkgver=2.0.10
+pkgver=2.0.3
pkgrel=1
arch=('x86_64')
-url='https://occ.t-head.cn/community/download?id=3902100504121253888'
+url='https://occ.t-head.cn/community/download?id=3948120165480468480'
license=('Apache')
provides=()
#conflicts=()
depends=('filesystem')
makedepends=('tar')
-source=("https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/null/1614234913073/ReleaseNotes.pdf"
- "csky-riscv64-linux-900-series-bin-${pkgver}.tar.gz::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1836682/1618221697023/riscv64-linux-x86_64-20210329.tar.gz"
- "csky-riscv64-elf-900-series-bin-${pkgver}.tar.gz::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1836682/1618221510402/riscv64-elf-x86_64-20210329.tar.gz"
- "ReleaseNote-${pkgver}.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1836682/1619081384520/ReleaseNote.pdf"
+source=("csky-riscv64-linux-900-series-bin-${pkgver}.tar.gz::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1836682/1629195585549/Xuantie-900-gcc-linux-5.4.36-glibc-x86_64-V2.0.3-20210806.tar.gz"
+ "csky-riscv64-elf-900-series-bin-${pkgver}.tar.gz::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1836682/1629195490818/Xuantie-900-gcc-elf-newlib-x86_64-V2.0.3-20210806.tar.gz"
+ "ReleaseNote-${pkgver}.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1836682/1629193992929/ReleaseNote.pdf"
"T-HEAD RISC-V LD Manual.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/cop-image-prod/resource/420257228264570880/1577083695234/T-HEAD+RISC-V+LD+Manual+V1.4.2.pdf"
"T-HEAD RISC-V GCC Manual.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/cop-image-prod/resource/420257228264570880/1577083609604/T-HEAD+RISC-V+GCC+Manual+V1.4.2.pdf"
"T-HEAD RISC-V GDB Manual.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/cop-image-prod/resource/420257228264570880/1577083669041/T-HEAD+RISC-V+GDB+Manual+V1.4.2.pdf"
"T-HEAD RISC-V AS Manual.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/cop-image-prod/resource/420257228264570880/1577083640288/T-HEAD+RISC-V+AS+Manual+V1.4.2.pdf"
"T-HEAD软件开发指南V1.7.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1355977/1615892629021/T-HEAD%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E6%8C%87%E5%8D%97V1.7.pdf"
- )
+ "玄铁CPU软件开发指南V2.1.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1356021/1639120240022/%E7%8E%84%E9%93%81CPU%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E6%8C%87%E5%8D%97V2.1.pdf")
-sha256sums=('e70dca4e839c503d0efff7b078c5418f0d28d0e79a032d50e5e39682507c82ae'
- '97ce0a11ef9952c343763bb9b60ee568bf7e48224d2691327b805c702e8caa81'
- 'f5179354d0e48b6573cf890c6bcad5301265ed52f74c0a41740eba2d5428a48c'
- 'f7d724ed2050d1619369071d3d8c9b2233eef9d56604272bb042713cb329b3d7'
+sha256sums=('c8ca9c5bc46b360e222ece5d142ff582714d1ebdb2aadebdb0fca268c341a97f'
+ '369fe884563e4ace65da6f078784dfc581a3d774e630c9e911bec8534369fdba'
+ '0dccee9f46cb4ab7368519f6d4df78285838768f116e3529fc242e0afc8b1e2b'
'a132754abca8e8956169a33f4239ef14e8f309259168dc8c0531e4df19e1f0f2'
'02c47ffb157456711bb0ad3f9848a02ee939e17cf0ed649d985b2dd0c6f744de'
'87cf75b68fa5792905cc4e1f0649a7b382c30d5986d479d1cd36d94a36c9e0a9'
'19b7b689c92a8fc762c7e2c3ca05798f432a41d6a05a3ae69a6f96333c73c404'
- 'f552d20599d73f824e44a03d8ca49fe74b59e838a97352a2596042ba8cad422f')
+ 'f552d20599d73f824e44a03d8ca49fe74b59e838a97352a2596042ba8cad422f'
+ '2a85b77c8313233562c35a439779a04bf2af2e5886f815f454c4f0df531b5be6')
noextract=(csky-riscv64-linux-900-series-bin-${pkgver}.tar.gz csky-riscv64-elf-900-series-bin-${pkgver}.tar.gz)
package_csky-toolchain-900-series-bin() {
- pkgdesc="C-Sky toolchain 900 series"
+ pkgdesc="C-Sky toolchain 900 series (Xuantie)"
depends=(csky-riscv64-linux-900-series-bin csky-riscv64-elf-900-series-bin csky-toolchain-900-series-guide-bin)
}
package_csky-riscv64-linux-900-series-bin() {
- pkgdesc="C-Sky riscv64 linux for 900 series"
+ pkgdesc="C-Sky riscv64 linux for 900 series (Xuantie)"
install -dm0755 "${pkgdir}/opt/t-head/${pkgname%-bin}"
- tar -xf "${srcdir}/${pkgname}-${pkgver}.tar.gz" -C "${pkgdir}/opt/t-head/${pkgname%-bin}" --no-same-owner --no-same-permissions
+ tar -xf "${srcdir}/${pkgname}-${pkgver}.tar.gz" --strip-components=1 -C "${pkgdir}/opt/t-head/${pkgname%-bin}" --no-same-owner --no-same-permissions
install -Dm0755 /dev/stdin "${pkgdir}/etc/profile.d/${pkgname%-bin}.sh" << EOF
#!/bin/sh
@@ -55,10 +54,10 @@ EOF
}
package_csky-riscv64-elf-900-series-bin() {
- pkgdesc="C-Sky riscv64 elf for 900 series"
+ pkgdesc="C-Sky riscv64 elf for 900 series (Xuantie)"
install -dm0755 "${pkgdir}/opt/t-head/${pkgname%-bin}"
- tar -xf "${srcdir}/${pkgname}-${pkgver}.tar.gz" -C "${pkgdir}/opt/t-head/${pkgname%-bin}" --no-same-owner --no-same-permissions
+ tar -xf "${srcdir}/${pkgname}-${pkgver}.tar.gz" --strip-components=1 -C "${pkgdir}/opt/t-head/${pkgname%-bin}" --no-same-owner --no-same-permissions
install -Dm0755 /dev/stdin "${pkgdir}/etc/profile.d/${pkgname%-bin}.sh" << EOF
#!/bin/sh
@@ -70,7 +69,7 @@ EOF
package_csky-toolchain-900-series-guide-bin() {
- pkgdesc="C-Sky toolchain guide for 900 series"
+ pkgdesc="C-Sky toolchain guide for 900 series (Xuantie)"
install -dm0755 "${pkgdir}/opt/t-head/${pkgname%-bin}"
cp -r "${srcdir}"/*.pdf "${pkgdir}/opt/t-head/${pkgname%-bin}"