From ab81929814279566dfda332e3adadbf05df5732d Mon Sep 17 00:00:00 2001 From: Kyle Manna Date: Thu, 13 Aug 2015 07:44:07 -0700 Subject: [PATCH] PKGBUILD: Copied from aur3 * Imported to aur4 --- .SRCINFO | 27 +++++++++++++++++++++++++++ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..d4e7157 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,27 @@ +pkgbase = gcc-arm-none-eabi-bin + pkgdesc = GNU Tools ARM Embedded Processors (binary distribution, includes GDB and newlib) + pkgver = 4.9_2014_q4_major + pkgrel = 2 + url = https://launchpad.net/gcc-arm-embedded + arch = i686 + arch = x86_64 + license = custom + depends = ncurses + depends = glibc + provides = gcc-arm-none-eabi + provides = arm-none-eabi-gcc + provides = arm-none-eabi-gdb + provides = arm-none-eabi-binutils + provides = arm-none-eabi-newlib + conflicts = gcc-arm-none-eabi + conflicts = arm-none-eabi-gcc + conflicts = arm-none-eabi-gdb + conflicts = arm-none-eabi-binutils + conflicts = arm-none-eabi-newlib + options = !strip + options = staticlibs + source = https://launchpad.net/gcc-arm-embedded/4.9/4.9-2014-q4-major/+download/gcc-arm-none-eabi-4_9-2014q4-20141203-linux.tar.bz2 + md5sums = 74cc4f012699c171089e72832d95bf4c + +pkgname = gcc-arm-none-eabi-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..4344a5d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Original Maintainer: James Duley +pkgname=gcc-arm-none-eabi-bin +pkgver=4.9_2014_q4_major +_pkgname=gcc-arm-none-eabi +_pkgver=${pkgver//_/-} +_pkgvershort=${_pkgver%-*} +_pkgvershort=${_pkgvershort/-q/q} +_pkgdate=20141203 +pkgrel=2 +pkgdesc="GNU Tools ARM Embedded Processors (binary distribution, includes GDB and newlib)" +arch=('i686' 'x86_64') +if [ "${CARCH}" = "x86_64" ]; then + depends=('lib32-ncurses' 'lib32-glibc') +else + depends=('ncurses' 'glibc') +fi +provides=('gcc-arm-none-eabi' + 'arm-none-eabi-gcc' + 'arm-none-eabi-gdb' + 'arm-none-eabi-binutils' + 'arm-none-eabi-newlib' + ) +conflicts=('gcc-arm-none-eabi' + 'arm-none-eabi-gcc' + 'arm-none-eabi-gdb' + 'arm-none-eabi-binutils' + 'arm-none-eabi-newlib' + ) +url="https://launchpad.net/gcc-arm-embedded" +source="https://launchpad.net/gcc-arm-embedded/${pkgver%%_*}/${_pkgver}/+download/${_pkgname}-${_pkgvershort/./_}-${_pkgdate}-linux.tar.bz2" +license=('custom') +options=(!strip staticlibs) +md5sums=('74cc4f012699c171089e72832d95bf4c') + +package() { + mkdir -p $pkgdir/usr + cd $srcdir/gcc-* + cp -a * $pkgdir/usr +}