blob: 6b8e8bd57fbc2e4597b89913d2aa269fad0dd4f1 (
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
|
# Maintainer: Gaƫl PORTAY <gael.portay@gmail.com>
pkgname=armv5-eabi-glibc-bleeding-edge-toolchain
pkgver=2024.05
pkgrel=1
pkgdesc="Ready-to-use cross-compilation toolchain provided by bootlin.com"
arch=("x86_64")
url="https://toolchains.bootlin.com/"
license=("GPL")
source=("https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs/armv5-eabi--glibc--bleeding-edge-2024.05-1.tar.xz"
"profile.sh-armv5-eabi-glibc-bleeding-edge-toolchain")
install="hooks.install-armv5-eabi-glibc-bleeding-edge-toolchain"
sha256sums=('1466a2c312a340d5314583c4ef3fbf955eaa0c16627712374e1f1d74d9a38505'
'0393a397690b72ed670dcd34aa3fd2b5f85f2edac4dd08b7837377b7ff8110ef')
build() {
cd "armv5-eabi--glibc--bleeding-edge-2024.05-1"
sh relocate-sdk.sh "/opt/armv5-eabi-glibc-bleeding-edge"
}
package() {
options=(!strip)
cd "armv5-eabi--glibc--bleeding-edge-2024.05-1"
mkdir -p "$pkgdir/opt/armv5-eabi-glibc-bleeding-edge/"
cp -a * "$pkgdir/opt/armv5-eabi-glibc-bleeding-edge/"
rm -f "$pkgdir/opt/armv5-eabi-glibc-bleeding-edge/{buildroot.config,relocate-sdk.sh,summary.csv,share/buildroot/sdk-location}"
mkdir -p "$pkgdir/etc/profile.d/"
install -m0644 "$srcdir/profile.sh-armv5-eabi-glibc-bleeding-edge-toolchain" "$pkgdir/etc/profile.d/armv5-eabi-glibc-bleeding-edge-toolchain.sh"
}
|