blob: 4dee8a11b59e6ae0a5b017ed8d8f33687d967f20 (
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
41
42
43
44
45
46
47
48
49
|
# Original Maintainer: James Duley <jagduley gmail>
# Previous Maintainer: 2bluesc <2bluesc gmail.com>
# Maintainer: Vadzim Dambrouski <pftbest gmail.com>
pkgname=gcc-arm-none-eabi-bin
pkgver=13.3.rel1
pkgrel=1
pkgdesc="GNU Tools ARM Embedded Processors (binary distribution, includes newlib, does NOT include GDB)"
arch=('aarch64' 'x86_64')
depends=('glibc')
optdepends=(
'arm-none-eabi-gdb: GNU Debugger for ARM EABI'
)
provides=('gcc-arm-none-eabi'
'arm-none-eabi-gcc'
'arm-none-eabi-binutils'
'arm-none-eabi-newlib'
)
conflicts=('gcc-arm-none-eabi'
'arm-none-eabi-gcc'
'arm-none-eabi-binutils'
'arm-none-eabi-newlib'
)
url='https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/downloads'
source_x86_64=('https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi.tar.xz')
source_aarch64=('https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-aarch64-arm-none-eabi.tar.xz')
license=('custom')
options=(!strip staticlibs)
sha256sums_x86_64=('95c011cee430e64dd6087c75c800f04b9c49832cc1000127a92a97f9c8d83af4')
sha256sums_aarch64=('c8824bffd057afce2259f7618254e840715f33523a3d4e4294f471208f976764')
package() {
cd $srcdir/arm-*/
mkdir -p $pkgdir/usr
mkdir -p $pkgdir/usr/lib/gcc
mkdir -p $pkgdir/usr/libexec/gcc
mkdir -p $pkgdir/usr/share/doc/gcc-arm-none-eabi
mkdir -p $pkgdir/usr/share/man
cp -a arm-none-eabi $pkgdir/usr
cp -a bin $pkgdir/usr
cp -a lib/gcc/arm-none-eabi $pkgdir/usr/lib/gcc
cp -a libexec/gcc/arm-none-eabi $pkgdir/usr/libexec/gcc
cp -a share/* $pkgdir/usr/share/doc/gcc-arm-none-eabi
cp -a share/man/man1 $pkgdir/usr/share/man
rm -f $pkgdir/usr/bin/arm-none-eabi-gdb*
rm -f $pkgdir/usr/share/man/man1/arm-none-eabi-gdb*
}
|