blob: e06a7da3cadc86f693fbdfc4da1b06622ec2c8cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: curlywei <dewei0724@gmail.com>
# Contributer: 1st submitter coolerfall <coolingfall@gmail.com>
_target=arm-linux-gnueabihf
_pkgdate=2022.09
_pkgrev=1
_compiler_name=gcc
_compiler_supplier=linaro
_compiler_version_major=13
_compiler_version_minor=0
_compiler_version_rel=0
pkgname=${_target}-${_compiler_name}${_compiler_version_major}-${_compiler_supplier}-bin
pkgver=${_compiler_version_major}.${_compiler_version_minor}
pkgrel=${_compiler_version_rel}
epoch=
pkgdesc="The GNU Compiler Collection- cross compiler for ARMv7 EABI hard float target. (Linaro)"
arch=('x86_64')
url="https://snapshots.linaro.org/gnu-toolchain"
license=('GPL' 'LGPL')
groups=(${_target}-toolchain-linaro-bin)
depends=()
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=("${_target}-gcc")
replaces=("${_target}-gcc")
backup=()
options=(!emptydirs !strip staticlibs)
install=
changelog=
source=(${url}/${pkgver}-${_pkgdate}-${_pkgrev}/${_target}/${_compiler_name}-${_compiler_supplier}-${pkgver}.${pkgrel}-${_pkgdate}-${arch}_${_target}.tar.xz)
sha512sums=('111033bd7c4059895fa4c8b415dc31e2e4203601193065932694e04c4d25990b9f68d4481feb0d1fa6554d68c5d4c9500bcc1c2721dcdd73c46e6614ca0aa80b')
package() {
mkdir -p ${pkgdir}/usr
cp -a ${srcdir}/${_compiler_name}-${_compiler_supplier}-${pkgver}.${pkgrel}-${_pkgdate}-${arch}_${_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}
}
|