cachy-auto-update: add package (1.0.0-1)

This commit is contained in:
Felitendo committed 2026-08-08 02:30:49 +02:00
1 parent a6c7b5d8aa
commit 0e674fada3
5 files changed
+127

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
# Maintainer: Felitendo
# This PKGBUILD is updated automatically:
# https://github.com/Felitendo/PKGBUILDS
pkgname=cachy-auto-update
pkgver=1.0.0
pkgrel=1
pkgdesc="Unattended background updates for CachyOS, aware of battery, gaming and manual package management"
arch=('any')
url="https://github.com/Felitendo/cachy-auto-update"
license=('GPL-3.0-or-later')
depends=('bash' 'systemd' 'pacman' 'pacman-contrib' 'util-linux' 'sudo'
'gettext')
makedepends=('gettext' 'scdoc')
optdepends=('paru: AUR package updates'
'yay: AUR package updates'
'base-devel: required to build AUR packages'
'flatpak: Flatpak updates'
'libnotify: desktop notifications'
'gearlever: AppImage updates')
backup=('etc/cachy-auto-update/cachy-auto-update.conf'
'etc/logrotate.d/cachy-auto-update')
install="${pkgname}.install"
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('e0ed0e3d76174de6d49625236487af90da0071a3ff54588a327020fd90a6db32')
build() {
make -C "${pkgname}-${pkgver}"
}
package() {
make -C "${pkgname}-${pkgver}" DESTDIR="$pkgdir" install
}