blob: cf9da619a9c63241ad5f97a7d32d11ea36b64d73 (
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=armv7-eabihf-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/armv7-eabihf/tarballs/armv7-eabihf--glibc--bleeding-edge-2024.05-1.tar.xz"
"profile.sh-armv7-eabihf-glibc-bleeding-edge-toolchain")
install="hooks.install-armv7-eabihf-glibc-bleeding-edge-toolchain"
sha256sums=('10703f0184162ea6ebabb84696903154a8eb7b53175e76ccf5ca0a2294fc68ec'
'eda70b43164ec141b46e1b4863652047136be9f12cb7a2690ccb0fc7b73ceb63')
build() {
cd "armv7-eabihf--glibc--bleeding-edge-2024.05-1"
sh relocate-sdk.sh "/opt/armv7-eabihf-glibc-bleeding-edge"
}
package() {
options=(!strip)
cd "armv7-eabihf--glibc--bleeding-edge-2024.05-1"
mkdir -p "$pkgdir/opt/armv7-eabihf-glibc-bleeding-edge/"
cp -a * "$pkgdir/opt/armv7-eabihf-glibc-bleeding-edge/"
rm -f "$pkgdir/opt/armv7-eabihf-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-armv7-eabihf-glibc-bleeding-edge-toolchain" "$pkgdir/etc/profile.d/armv7-eabihf-glibc-bleeding-edge-toolchain.sh"
}
|