36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# 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=6_2017_q2_update
|
|
pkgrel=1
|
|
pkgdesc="GNU Tools ARM Embedded Processors (binary distribution, includes newlib, does NOT include GDB)"
|
|
arch=('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/open-source/gnu-toolchain/gnu-rm"
|
|
source=("https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/6-2017q2/gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2")
|
|
license=('custom')
|
|
options=(!strip staticlibs)
|
|
sha256sums=('e68e4b2fe348ecb567c27985355dff75b65319a0f6595d44a18a8c5e05887cc3')
|
|
|
|
package() {
|
|
mkdir -p $pkgdir/usr
|
|
cd $srcdir/gcc-*/
|
|
cp -a * $pkgdir/usr
|
|
rm -f $pkgdir/usr/bin/arm-none-eabi-gdb*
|
|
rm -f $pkgdir/usr/lib/libcc1.so*
|
|
}
|