diff options
author | Gaël PORTAY | 2023-10-03 02:32:29 +0200 |
---|---|---|
committer | Gaël PORTAY | 2023-10-03 02:32:29 +0200 |
commit | a389a4555963773f1f09ac605f1d50835bd4298f (patch) | |
tree | a6d371351370bb1b079be0b7708396de6acac0ea | |
parent | 8dd509b2862f060e985da5c4c5963934ae15cb89 (diff) | |
download | aur-a389a4555963773f1f09ac605f1d50835bd4298f.tar.gz |
v2023.08-1
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 10 | ||||
-rw-r--r-- | hooks.install-s390x-z13-glibc-bleeding-edge-toolchain | 7 | ||||
-rw-r--r-- | profile.sh-s390x-z13-glibc-bleeding-edge-toolchain | 3 |
4 files changed, 21 insertions, 2 deletions
@@ -3,10 +3,13 @@ pkgbase = s390x-z13-glibc-bleeding-edge-toolchain pkgver = 2023.08 pkgrel = 1 url = https://toolchains.bootlin.com/ + install = hooks.install-s390x-z13-glibc-bleeding-edge-toolchain arch = x86_64 license = GPL source = https://toolchains.bootlin.com/downloads/releases/toolchains/s390x-z13/tarballs/s390x-z13--glibc--bleeding-edge-2023.08-1.tar.bz2 + source = profile.sh-s390x-z13-glibc-bleeding-edge-toolchain sha256sums = 38edb78e044ce8c47214452084d5ce38c8b94a2484b296972a764da701ca738a + sha256sums = 9378a32f3f599f207695ce96451c7c0a96c7dd63be120d4f21cd0520670d9272 pkgname = s390x-z13-glibc-bleeding-edge-toolchain options = !strip @@ -7,8 +7,11 @@ 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-2023.08-1.tar.bz2") -sha256sums=('38edb78e044ce8c47214452084d5ce38c8b94a2484b296972a764da701ca738a') +source=("https://toolchains.bootlin.com/downloads/releases/toolchains/s390x-z13/tarballs/s390x-z13--glibc--bleeding-edge-2023.08-1.tar.bz2" + "profile.sh-s390x-z13-glibc-bleeding-edge-toolchain") +install="hooks.install-s390x-z13-glibc-bleeding-edge-toolchain" +sha256sums=('38edb78e044ce8c47214452084d5ce38c8b94a2484b296972a764da701ca738a' + '9378a32f3f599f207695ce96451c7c0a96c7dd63be120d4f21cd0520670d9272') build() { cd "s390x-z13--glibc--bleeding-edge-2023.08-1" @@ -24,4 +27,7 @@ package() { 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" } diff --git a/hooks.install-s390x-z13-glibc-bleeding-edge-toolchain b/hooks.install-s390x-z13-glibc-bleeding-edge-toolchain new file mode 100644 index 000000000000..311bfc23c557 --- /dev/null +++ b/hooks.install-s390x-z13-glibc-bleeding-edge-toolchain @@ -0,0 +1,7 @@ +post_install() { + echo "bootlin toolchain installed to /opt/s390x-z13-glibc-bleeding-edge" + echo "The PATH variable will be updated on re-login. To immediately load it:" + echo "" + echo " source /etc/profile.d/s390x-z13-glibc-bleeding-edge.sh" + echo "" +} diff --git a/profile.sh-s390x-z13-glibc-bleeding-edge-toolchain b/profile.sh-s390x-z13-glibc-bleeding-edge-toolchain new file mode 100644 index 000000000000..80b06396cea9 --- /dev/null +++ b/profile.sh-s390x-z13-glibc-bleeding-edge-toolchain @@ -0,0 +1,3 @@ +#!/bin/sh + +export PATH="$PATH:/opt/s390x-z13-glibc-bleeding-edge/bin" |