# Maintainer: Zesko pkgname=journalctl-desktop-notification-git pkgver=r16.ca4733a pkgrel=1 pkgdesc="The notification notifies on the desktop when any error message appeared in Journalctl log." arch=('any') url="https://gitlab.com/Zesko/journalctl-desktop-notification" license=('GPL3') depends=('dunst' 'systemd') makedepends=('git') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") backup=("etc/${pkgname%-git}.conf") source=('git+https://gitlab.com/Zesko/journalctl-desktop-notification.git') sha256sums=('SKIP') pkgver() { cd "$srcdir/${pkgname%-git}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { cd "$srcdir/${pkgname%-git}" cp -vr usr etc "$pkgdir" }