Add systemd user service file installation

Added installation of wshowlyrics.service to /usr/lib/systemd/user
to support systemd service management introduced in v0.5.3.

Users can now manage wshowlyrics with:
- systemctl --user enable wshowlyrics.service
- systemctl --user start wshowlyrics.service
- journalctl --user -u wshowlyrics
This commit is contained in:
unstable-code 2025-11-28 14:31:05 +09:00
parent 6958d4f35a
commit 30d8a0ec47
No known key found for this signature in database
GPG key ID: CB5F744B42F45F64

View file

@ -57,6 +57,9 @@ package() {
# Install system-wide configuration file
install -Dm644 settings.ini.example "$pkgdir/etc/wshowlyrics/settings.ini"
# Install systemd user service file
install -Dm644 wshowlyrics.service "$pkgdir/usr/lib/systemd/user/wshowlyrics.service"
# Install documentation
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"