blob: 8a3954f8c6ac62db2ecedc95326c262dfbe59557 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: Greg Holmes <greg at greg dot holmes dot name>
pkgname=systemd-timer-podman-system-prune-git
pkgver=r2.9b61206
pkgrel=1
pkgdesc="Systemd timer to force a podman system prune on boot and daily"
arch=('any')
url="https://github.com/greboid/systemd-podman-system-prune"
license=('MIT')
makedepends=('git')
depends=('systemd-service-podman-system-prune')
provides=('systemd-timer-podman-system-prune')
source=(
"$pkgname"::"git+https://github.com/greboid/systemd-podman-system-prune.git"
)
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/$pkgname"
install -Dm 644 podman-system-prune.timer "$pkgdir/usr/lib/systemd/system/podman-system-prune.timer"
}
|