Update PKGBUILD dependencies

Add libnotify (needed for notify-send), move aurutils to optdepends
since the script works without it, add fwupd as optdepend. Quote
variables in package().
This commit is contained in:
Daniele Fucini
2026-10-07 19:45:47 +02:00
parent a72fd1639e
commit 5b877e76df
+8 -6
View File
@@ -10,17 +10,19 @@ arch=('any')
url="https://git.shouldnt.work/fuxino/${pkgname}"
license=('GPL-3.0-or-later')
depends=('pacman-contrib'
'aurutils')
'libnotify')
makedepends=('git')
optdepends=('git-monitor: to check git repos for updates')
optdepends=('aurutils: to check AUR packages in the local repo for updates'
'fwupd: to check for firmware updates'
'git-monitor: to check git repos for updates')
source=(git+${url}?signed#tag=${pkgver})
validpgpkeys=('7E12BC1FF3B6EDB2CD8053EB981A2B2A3BBF5514')
sha256sums=('a81613c3098c9af6dabe1da67f26efeee4d0753352e38ba4c0ee1d7e86f7d2d7')
package()
{
cd ${srcdir}/${pkgname}
install -Dm755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}
install -Dm644 ${pkgname}.service ${pkgdir}/usr/lib/systemd/user/${pkgname}.service
install -Dm644 ${pkgname}.timer ${pkgdir}/usr/lib/systemd/user/${pkgname}.timer
cd "${srcdir}/${pkgname}"
install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "${pkgname}.service" "${pkgdir}/usr/lib/systemd/user/${pkgname}.service"
install -Dm644 "${pkgname}.timer" "${pkgdir}/usr/lib/systemd/user/${pkgname}.timer"
}