diff --git a/tools/package.sh b/tools/package.sh index f9cc4fd..3b04650 100755 --- a/tools/package.sh +++ b/tools/package.sh @@ -22,7 +22,7 @@ stage() { # $NAME--arch-x86_64.pkg.tar.zst (makepkg from that tar.gz, offline) and SHA256SUMS-. # It also writes the tar.gz checksum and version into $PKGDIR/PKGBUILD and .SRCINFO, and the glibc floor read # from the binary into installer.sh and the PKGBUILD. Nothing is downloaded: appimagetool comes from -# ~/Projects/Mulberry/dist and runs extracted (no FUSE, no runtime fetch). Never writes to releases/. +# ~/.local/opt/build-tools and runs extracted (no FUSE, no runtime fetch). Never writes to releases/. # SKIP_BUILD=1 packages the existing build. CARGO_TARGET_DIR is honoured. cd "$root"; PKGDIR=${PKGDIR:-packaging/arch} [ "${SKIP_BUILD:-}" = 1 ] || build @@ -69,7 +69,7 @@ exec "\$here/usr/bin/${BINS[0]}" "\$@" RUN chmod +x "$a/AppRun" if declare -F appdir_hook >/dev/null; then appdir_hook "$a"; fi # project extras (bundled libraries) - cp ~/Projects/Mulberry/dist/appimagetool "$work/appimagetool" + cp ~/.local/opt/build-tools/appimagetool "$work/appimagetool" (cd "$work" && ./appimagetool --appimage-extract >/dev/null) ARCH=x86_64 "$work/squashfs-root/AppRun" --no-appstream "$a" "$out/$NAME-$ver-x86_64.AppImage" >"$work/ait.log" 2>&1 \ || { tail -20 "$work/ait.log"; exit 1; }