diff options
author | Fehér Roland Ádám | 2020-12-27 18:18:43 +0100 |
---|---|---|
committer | Fehér Roland Ádám | 2020-12-27 18:18:43 +0100 |
commit | 2907459ed6be8ed1fddfd4f0b70196444f0b3b06 (patch) | |
tree | 75e70a4d5a75dd25ae1a55cdada08cd22b338b93 | |
download | aur-2907459ed6be8ed1fddfd4f0b70196444f0b3b06.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 41 |
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..843e559e7250 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = arm-eabi-gcc-linaro-bin + pkgdesc = The GNU Compiler Collection - cross compiler for ARM EABI (bare-metal) target. + pkgver = 7.5.0 + pkgrel = 1 + url = http://www.linaro.org/downloads/ + arch = x86_64 + groups = arm-eabi-toolchain-linaro-bin + license = GPL + license = LGPL + optdepends = arm-eabi-newlib-linaro-bin: Standard C library optimized for embedded systems + options = !emptydirs + options = !strip + options = staticlibs + source = http://releases.linaro.org/components/toolchain/binaries/7.5-2019.12/arm-eabi/gcc-linaro-7.5.0-2019.12-x86_64_arm-eabi.tar.xz + sha512sums = 41469a734c0b1fcc3a28c9487f36c301ed823eeaf60c44172d53668dbed01342d04160c2259200e5bb75d52ccc72fa1d4e3f4f1a40d6a52c914df6d8398c0863 + +pkgname = arm-eabi-gcc-linaro-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8a523304506d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: feherneoh <feherneoh@gmail.com> + +_target=arm-eabi +_pkgdate=2019.12 +_basever=7.5 + +pkgname=${_target}-gcc-linaro-bin +pkgver=${_basever}.0 +pkgrel=1 +epoch= +pkgdesc="The GNU Compiler Collection - cross compiler for ARM EABI (bare-metal) target." +arch=('x86_64') +url="http://www.linaro.org/downloads/" +license=('GPL' 'LGPL') +groups=(${_target}-toolchain-linaro-bin) +depends=() +makedepends=() +checkdepends=() +optdepends=("${_target}-newlib-linaro-bin: Standard C library optimized for embedded systems") +provides=() +conflicts=() +replaces=() +backup=() +options=(!emptydirs !strip staticlibs) +install= +changelog= +source=(http://releases.linaro.org/components/toolchain/binaries/${_basever}-${_pkgdate}/${_target}/gcc-linaro-${pkgver}-${_pkgdate}-x86_64_${_target}.tar.xz) +sha512sums=('2d02a59a49826291fc9f78abdf3292d8c117b7249696db28acf33062720f2c43c0a82958cc2a366bb858417b86ef5a9cd790755b1fed32d5395d8ac3e864337d') + + +package() { + mkdir -p ${pkgdir}/usr + cp -a ${srcdir}/gcc-linaro-${pkgver}-${_pkgdate}-x86_64_${_target}/* ${pkgdir}/usr + + rm -f ${pkgdir}/usr/*-manifest.txt + rm -f ${pkgdir}/usr/bin/runtest + rm -f ${pkgdir}/usr/lib/lib* + rm -rf ${pkgdir}/usr/include + rm -rf ${pkgdir}/usr/share/{dejagnu,doc,gcc-*,gdb,info,locale} + rm -rf ${pkgdir}/usr/share/man/{man1/runtest.1,man5,man7} +} |