blob: 81c2552363e2258a46f604b40bc8f52bb6f47595 (
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=s390x-z13-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/s390x-z13/tarballs/s390x-z13--glibc--bleeding-edge-2024.05-1.tar.xz"
"profile.sh-s390x-z13-glibc-bleeding-edge-toolchain")
install="hooks.install-s390x-z13-glibc-bleeding-edge-toolchain"
sha256sums=('3f388a1549601fde95a084a439d8f514694d9819c2a75eaa678ac263b6ea5ccd'
'9378a32f3f599f207695ce96451c7c0a96c7dd63be120d4f21cd0520670d9272')
build() {
cd "s390x-z13--glibc--bleeding-edge-2024.05-1"
sh relocate-sdk.sh "/opt/s390x-z13-glibc-bleeding-edge"
}
package() {
options=(!strip)
cd "s390x-z13--glibc--bleeding-edge-2024.05-1"
mkdir -p "$pkgdir/opt/s390x-z13-glibc-bleeding-edge/"
cp -a * "$pkgdir/opt/s390x-z13-glibc-bleeding-edge/"
rm -f "$pkgdir/opt/s390x-z13-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-s390x-z13-glibc-bleeding-edge-toolchain" "$pkgdir/etc/profile.d/s390x-z13-glibc-bleeding-edge-toolchain.sh"
}
|