diff options
author | Greg Holmes | 2022-03-15 00:29:39 +0000 |
---|---|---|
committer | Greg Holmes | 2022-03-15 00:29:39 +0000 |
commit | e34effb7561b56fdf177f3520b0df61333dc1d42 (patch) | |
tree | fe0200051e1ecb3bff938140211d7fc924c2ce42 /PKGBUILD | |
download | aur-systemd-timer-podman-system-prune-git.tar.gz |
Add build files
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8a3954f8c6ac --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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" +} |