When using a global target-dir, the package step of the PKGBUILD fails:
==> Starting package()...
install: cannot stat '/home/serial/.cache/paru/clone/mpd-discord-rpc/src/mpd-discord-rpc/target/release/mpd-discord-rpc': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
error: failed to build 'mpd-discord-rpc-v1.6.0.r0.ee29533-1 (mpd-discord-rpc-git)':
error: packages failed to build: mpd-discord-rpc-v1.6.0.r0.ee29533-1 (mpd-discord-rpc-git)
When using a global target-dir, the
package
step of the PKGBUILD fails:The fix is to just specify the target-dir: