The --dest-dir "${pkgdir}" \
is causing a problem, because .service is using PYTHON_SCRIPT_INSTALLATION_PATH
which is set to PYTHON_SCRIPT_INSTALLATION_PATH="$DEST_DIR$PREFIX_DIR/bin/fw-fanctrl"
and something like
ExecStart=/usr/bin/python3 "/home/user/.cache/paru/clone/fw-fanctrl-git/pkg/fw-fanctrl-git/usr/bin/fw-fanctrl" --output-format "JSON" run --config "/etc/fw-fanctrl/config.json" --silent
Ends up in the systemd service file.
DEST_DIR
is used several time in that install.sh script for copying of some some stuff, so in most cases it is correct. I think, we may have to patch the resulting service file or solve it with upstream.
Opened issue: https://github.com/TamtamHero/fw-fanctrl/issues/129
Pinned Comments
icedream commented on 2025-02-25 06:22 (UTC)
There is now a version of this package that will give you the released version instead of latest Git: https://aur.archlinux.org/packages/fw-fanctrl
icedream commented on 2025-02-25 05:56 (UTC)
There was a recent issue with the package build failing due to a missing .whl file. A workaround has been put in place.
Further discussion will happen in https://github.com/TamtamHero/fw-fanctrl/issues/111 for a longer-term fix.