diff options
| author | Rubén Beltrán del Río <jj@r.bdr.sh> | 2026-04-06 12:26:05 +0200 |
|---|---|---|
| committer | Rubén Beltrán del Río <jj@r.bdr.sh> | 2026-04-06 13:08:51 +0200 |
| commit | 6be848db5b8ae946a6896dcfad69914544949b97 (patch) | |
| tree | 7806a176e920a92902dcd534533f0ee2be77eff8 /scripts/build_arch.sh | |
| parent | 2a28a38db1e8251611389e7ab6ab3c2c1ee21187 (diff) | |
Inline scripts to justfile
Diffstat (limited to 'scripts/build_arch.sh')
| -rwxr-xr-x | scripts/build_arch.sh | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/scripts/build_arch.sh b/scripts/build_arch.sh deleted file mode 100755 index c4a3c0c..0000000 --- a/scripts/build_arch.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -container_image_prefix=$1 -distro=$2 -app_name=$3 -arch=$4 -channel=$5 - -version=`just version` -staging="$(mktemp -d)" - -cp _build/meson-dist/map-${version}.tar.xz "${staging}/" - -cp build-aux/arch/PKGBUILD "${staging}/" - -podman run --rm -v "${staging}:/build:Z" \ - ${container_image_prefix}:${distro} \ - bash -c " - mkdir -p /tmp/pkg - cp /build/*.tar.xz /tmp/pkg - cp /build/PKGBUILD /tmp/pkg - chown -R builder:builder /tmp/pkg - su builder -c 'cd /tmp/pkg && PKGEXT=.pkg.tar.gz makepkg -f' - mkdir -p /build/out - cp /tmp/pkg/map-${version}-1-${arch}.pkg.tar.gz /build/out/ - " - -cp ${staging}/out/*.pkg.tar.gz "_dist/${app_name}-${arch}-${channel}-${distro}.pkg.tar.gz" -rm -rf "${staging}" |