From fe53dae8931378d1bcd4c6b34120bbab4e3f0af1 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Mon, 2 Dec 2024 18:10:18 +0100 Subject: [PATCH] Add fakeroot as dependency Signed-off-by: Knut Ahlers --- PKGBUILD | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 543ddea..7dc081a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -7,22 +7,25 @@ pkgdesc="Execute (automatic) updates with service / machine restarts" arch=('any') url="https://gist.github.com/Luzifer/493cea96052493ed70d4cdd572db32f0" license=(Apache) -depends=(pacman-contrib) +depends=( + pacman-contrib + fakeroot # Fixes missing dependecy on checkupdates +) source=( - arch_update.sh - arch-update.service - arch-update.timer + arch_update.sh + arch-update.service + arch-update.timer ) sha512sums=('380fa9dd9ce08b9e2dc1452b23f045bb4dc727b1192aa5c46adcb6be4d3e8b0af8dd9be93149b0e4b62132f0783dd04efe30d3fbb7cd28a2dff384e844f96486' '384a9fc9c7f43bd7e9ec9274b5e930e7e9e3dcea088f524201f0b359f33e470b9b120b6c261b82b2d484d7af937eb67ba2cdf7a0bda2ca424338da03e008a716' 'f9b62fbc31d963525340c408ddacf671c54d9874b4decd1c84286b2a000ef488a85d738f7a3d83db34e9dd98baa84389aff837bdf68531712ba9eaa7a8d762bd') package() { - install -Dm755 "${srcdir}/arch_update.sh" "${pkgdir}/usr/bin/arch_update" - install -Dm755 "${srcdir}/arch-update.service" "${pkgdir}/usr/lib/systemd/system/arch-update.service" - install -Dm755 "${srcdir}/arch-update.timer" "${pkgdir}/usr/lib/systemd/system/arch-update.timer" + install -Dm755 "${srcdir}/arch_update.sh" "${pkgdir}/usr/bin/arch_update" + install -Dm755 "${srcdir}/arch-update.service" "${pkgdir}/usr/lib/systemd/system/arch-update.service" + install -Dm755 "${srcdir}/arch-update.timer" "${pkgdir}/usr/lib/systemd/system/arch-update.timer" } pkgver() { - echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" + echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" }