1
0
Fork 0
mirror of https://github.com/Luzifer/arch-update.git synced 2024-12-20 11:01:16 +00:00
arch-update/PKGBUILD
Knut Ahlers 20c9245eaf
Add PKGBUILD
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-03-04 23:26:33 +01:00

20 lines
634 B
Bash

# Maintainer: Knut Ahlers <knut at ahlers dot me>
pkgname=arch-update
pkgver=r4.37d56f8
pkgrel=1
pkgdesc="Execute (automatic) updates with service / machine restarts"
arch=('any')
url="https://gist.github.com/Luzifer/493cea96052493ed70d4cdd572db32f0"
license=(Apache)
depends=(pacman-contrib)
source=(arch_update.sh)
sha512sums=('609794ba2c80e70f7b32fc5323e0897d643a836af2899916c72d5727a0afd8b41341d8ab7d4b9fa7a06c10a9803a34a9bb380c92f15276e2dc459652b6b464d3')
package() {
install -Dm755 "${srcdir}/arch_update.sh" "${pkgdir}/usr/bin/arch_update"
}
pkgver() {
echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}