initial commit

This commit is contained in:
1Conan 2020-03-18 17:36:04 +08:00
commit a4f04c2246
No known key found for this signature in database
GPG Key ID: E024E5BDEE2BCE4F
2 changed files with 33 additions and 0 deletions

13
.SRCINFO Normal file
View File

@ -0,0 +1,13 @@
pkgbase = aarch64-none-elf-gcc-bin
pkgdesc = The GNU Compiler Collection - cross compiler for ARM64 target
pkgver = 9.2
pkgrel = 1
url = https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads
arch = x86_64
license = GPL
license = LGPL
source = https://developer.arm.com/-/media/Files/downloads/gnu-a/9.2-2019.12/binrel/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf.tar.xz
md5sums = a6019ac8c92be55a7253eacf13e64c2a
pkgname = aarch64-none-elf-gcc-bin

20
PKGBUILD Normal file
View File

@ -0,0 +1,20 @@
# Maintainer: 1Conan <me@1conan.com>
_target=aarch64-none-elf
_pkgdate=2019.12
pkgname=${_target}-gcc-bin
pkgver=9.2
pkgrel=1
pkgdesc="The GNU Compiler Collection - cross compiler for ARM64 target"
arch=('x86_64')
url="https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads"
license=('GPL' 'LGPL')
source=(https://developer.arm.com/-/media/Files/downloads/gnu-a/${pkgver}-${_pkgdate}/binrel/gcc-arm-${pkgver}-${_pkgdate}-x86_64-${_target}.tar.xz)
md5sums=('a6019ac8c92be55a7253eacf13e64c2a')
package() {
mkdir -p ${pkgdir}/usr
cp -a ${srcdir}/gcc-arm-${pkgver}-${_pkgdate}-x86_64-${_target}/* ${pkgdir}/usr
rm -f ${pkgdir}/usr/*-manifest.txt ${pkgdir}/usr/bin/runtest ${pkgdir}/usr/lib/lib*
rm -rf ${pkgdir}/usr/include ${pkgdir}/usr/share/{dejagnu,doc,gcc-*,gdb,info,locale} ${pkgdir}/usr/share/man/{man1/runtest.1,man5,man7}
}