blob: 6de75b33c60ba09beee81e3c93be85cab7152af6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: taotieren <admin@taotieren.com>
pkgbase=nuclei-gcc
pkgname=(nuclei-gcc nuclei-gcc-bin)
pkgver=2022.12
pkgrel=0
pkgdesc="nuclei-gcc 是 Nuclei Studio IDE 的编译工具。"
arch=("x86_64")
makedepends=()
depends=()
optdepends=('nucleistudioide: Nuclei Studio IDE 是基于 MCU Eclipse IDE 开发的一款针对芯来公司处理器核产品的集成开发环境工具,用于 RISC-V 开发继承了 Eclipse IDE 平台的各种优势。'
'jlink-software-and-documentation: Segger JLink software & documentation pack for Linux'
'embedded-studio-risc-v: Segger Embedded Studio for RISC-V')
conflicts=()
url="https://www.nucleisys.com/download.php"
license=('unknow')
options=(!strip)
source=("https://www.nucleisys.com/upload/files/toochain/gcc/nuclei_riscv_newlibc_prebuilt_linux64_${pkgver}.tar.bz2")
sha256sums=('a70471ca72e43b9f3476e400d67ed8d087d00b2aa110e1e217891e3dcabd9533')
package_nuclei-gcc() {
depends=(nuclei-gcc-bin)
}
package_nuclei-gcc-bin() {
msg2 'Installing Nuclei GCC'
install -dm755 "${pkgdir}/opt/nuclei/NucleiStudio/toolchain/" \
"${pkgdir}/opt/SEGGER/Embedded-Studio-RISC-V/Nuclei_Toolchain/"
mv "${srcdir}/gcc" "${pkgdir}/opt/nuclei"
ln -sf "/opt/nuclei/gcc" "${pkgdir}/opt/nuclei/NucleiStudio/toolchain/gcc"
ln -sf "/opt/nuclei/gcc" "${pkgdir}/opt/SEGGER/Embedded-Studio-RISC-V/Nuclei_Toolchain/gcc"
}
#
# makepkg --printsrcinfo > .SRCINFO
#
# vim: set ts=8 sw=8 tw=0 noet:
|