arm-toolchain-for-embedded-bin

LOW
maintainer Fixer 0 votes scanned 2026-09-29 03:22:52.787385
View on AUR
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
3pkgname=arm-toolchain-for-embedded-bin
4pkgver=23.1.0
5pkgrel=1
6pkgdesc="LLVM-based bare-metal compiler toolchain for Arm (ATfE, binary release)"
7arch=('x86_64' 'aarch64')
8url="https://github.com/arm/arm-toolchain"
9license=('Apache-2.0 WITH LLVM-exception')
10depends=('gcc-libs' 'glibc' 'libedit' 'zlib')
11options=(!strip !debug staticlibs)
12install="$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
20source_x86_64=("${url}/releases/download/${_release}/${_srcname_x86_64}.tar.xz")
21source_aarch64=("${url}/releases/download/${_release}/${_srcname_aarch64}.tar.xz")
22sha256sums_x86_64=('a7be511613af15151c93961ad39c8cf9ae6889a453c8b547f42f4051a416dc8e')
23sha256sums_aarch64=('df3b055d05659d8fda710d820e6c1ceff7bca3234c5067abe82a16e781d8de99')
24
25package() {
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)SeverityRules
2026-09-29 03:22:52 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion