40 lines
1.2 KiB
Bash
40 lines
1.2 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=5_2015_q4_major
|
|
pkgrel=1
|
|
pkgdesc="GNU Tools ARM Embedded Processors (binary distribution, includes newlib, does NOT include GDB)"
|
|
arch=('i686' 'x86_64')
|
|
if [ "${CARCH}" = "x86_64" ]; then
|
|
depends=('lib32-glibc')
|
|
else
|
|
depends=('glibc')
|
|
fi
|
|
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://launchpad.net/gcc-arm-embedded"
|
|
source=("https://launchpad.net/gcc-arm-embedded/5.0/5-2015-q4-major/+download/gcc-arm-none-eabi-5_2-2015q4-20151219-linux.tar.bz2")
|
|
license=('custom')
|
|
options=(!strip staticlibs)
|
|
sha256sums=('1e94f8e287d100f0d36702ca23be7cfb7c9dabdb7e4fce9f81872f1e13e5ab8a')
|
|
|
|
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*
|
|
}
|