arm-toolchain-for-embedded-bin
LOW
maintainer Fixer
0 votes
scanned 2026-09-29 03:22:52.787385
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: phtty <dzzwmqj@outlook.com>
2
3
pkgname=arm-toolchain-for-embedded-bin
4
pkgver=23.1.0
5
pkgrel=1
6
pkgdesc="LLVM-based bare-metal compiler toolchain for Arm (ATfE, binary release)"
7
arch=('x86_64' 'aarch64')
8
url="https://github.com/arm/arm-toolchain"
9
license=('Apache-2.0 WITH LLVM-exception')
10
depends=('gcc-libs' 'glibc' 'libedit' 'zlib')
11
options=(!strip !debug staticlibs)
12
install="$pkgname.install"
13
14
_release="release-${pkgver}-ATfE"
15
16
# Upstream spells the host arch differently in the artefact file names (x86_64 vs AArch64)
17
_srcname_x86_64="ATfE-${pkgver}-Linux-x86_64"
18
_srcname_aarch64="ATfE-${pkgver}-Linux-AArch64"
19
20
source_x86_64=("${url}/releases/download/${_release}/${_srcname_x86_64}.tar.xz")
21
source_aarch64=("${url}/releases/download/${_release}/${_srcname_aarch64}.tar.xz")
22
sha256sums_x86_64=('a7be511613af15151c93961ad39c8cf9ae6889a453c8b547f42f4051a416dc8e')
23
sha256sums_aarch64=('df3b055d05659d8fda710d820e6c1ceff7bca3234c5067abe82a16e781d8de99')
24
25
package() {
26
local _srcname
27
case "$CARCH" in
28
x86_64) _srcname="$_srcname_x86_64" ;;
29
aarch64) _srcname="$_srcname_aarch64" ;;
30
esac
31
32
# The release binaries use unprefixed tool names (clang, lld, llvm-*) that
33
# would conflict with the official clang/llvm/lld packages, so install the
34
# self-contained toolchain into /opt and let the user add its bin/ to PATH.
35
install -d "$pkgdir/opt"
36
cp -a "$srcdir/$_srcname" "$pkgdir/opt/atfe"
37
38
install -Dm644 "$srcdir/$_srcname/LICENSE.txt" \
39
"$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
40
install -Dm644 "$srcdir/$_srcname/THIRD-PARTY-LICENSES.txt" \
41
"$pkgdir/usr/share/licenses/$pkgname/THIRD-PARTY-LICENSES.txt"
42
cp -a "$srcdir/$_srcname/third-party-licenses" \
43
"$pkgdir/usr/share/licenses/$pkgname/third-party-licenses"
44
}
45
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-29 03:22:52 | Low | 1 |