Install as system service, not user

This commit is contained in:
Rudra Saraswat 2023-05-15 21:10:22 +05:30
parent 0bda14d5e3
commit 49cfd6021e

View file

@ -26,7 +26,7 @@ package() {
"${pkgname%-git}" \ "${pkgname%-git}" \
-t "${pkgdir}"/usr/bin/ -t "${pkgdir}"/usr/bin/
install -Dm644 "${pkgname%-git}.service" -t \ install -Dm644 "${pkgname%-git}.service" -t \
"${pkgdir}"/usr/lib/systemd/user/ "${pkgdir}"/usr/lib/systemd/system/
install -Dm644 "${pkgname%-git}.hook" \ install -Dm644 "${pkgname%-git}.hook" \
"${pkgdir}/usr/lib/initcpio/hooks/${pkgname%-git}" "${pkgdir}/usr/lib/initcpio/hooks/${pkgname%-git}"
install -Dm644 "${pkgname%-git}.install" \ install -Dm644 "${pkgname%-git}.install" \