Build fails for 0.7.5 because the PKGBUILD still tries to install:
install -Dm644 "$srcdir/maa-cli-$pkgver"/crates/maa-cli/completions/*.fish
However, there are no *.fish files in that directory anymore.
The CLI can generate fish completions dynamically:
maa complete fish
Replacing the fish completion install line with something like:
install -Dm644 <("$pkgdir"/usr/bin/maa complete fish)
"$pkgdir/usr/share/fish/vendor_completions.d/maa.fish"
fixed the build for me and installed the fish completion correctly.
Verified after installation:
pacman -Ql maa-cli | grep fish
shows:
/usr/share/fish/vendor_completions.d/maa.fish
Build fails for 0.7.5 because the PKGBUILD still tries to install: install -Dm644 "$srcdir/maa-cli-$pkgver"/crates/maa-cli/completions/*.fish
However, there are no *.fish files in that directory anymore. The CLI can generate fish completions dynamically: maa complete fish
Replacing the fish completion install line with something like: install -Dm644 <("$pkgdir"/usr/bin/maa complete fish) "$pkgdir/usr/share/fish/vendor_completions.d/maa.fish"
fixed the build for me and installed the fish completion correctly.
Verified after installation: pacman -Ql maa-cli | grep fish shows: /usr/share/fish/vendor_completions.d/maa.fish