fix(pkgbuild): honour CARGO_TARGET_DIR in install path
Build and publish packages / build-and-publish (push) Failing after 14m14s

The act_runner exports CARGO_TARGET_DIR=/cache/target for cache
persistence, but the three Rust-app PKGBUILDs hardcoded
target/release/<bin>. Run 87 compiled 8 min then failed at
install stage. Use ${CARGO_TARGET_DIR:-target} so both CI and
local makepkg work.
This commit is contained in:
2026-04-23 13:04:31 +02:00
parent cc5cf1c1e1
commit 5fc1781262
4 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ build() {
package() {
cd "$srcdir/greetd-moongreet"
install -Dm755 target/release/moongreet "$pkgdir/usr/bin/moongreet"
install -Dm755 "${CARGO_TARGET_DIR:-target}/release/moongreet" "$pkgdir/usr/bin/moongreet"
# Greeter config
install -Dm644 config/moongreet.toml "$pkgdir/etc/moongreet/moongreet.toml"