blob: c12817f0f6ce4bd4dcf5c5aa79a82e5e85f3e671 (
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
26
27
|
# Maintainer: Zesko
pkgname=journalctl-desktop-notification-git
pkgver=r71.c799261
pkgrel=1
pkgdesc="Displays notifications for journalctl error messages."
arch=('any')
url="https://gitlab.com/Zesko/journalctl-desktop-notification"
license=('GPL3')
depends=('libnotify' '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}"
install -dm 755 "usr/share/doc/${pkgname%-git}/"
cp -r screenshots README.md CHANGELOG.md "usr/share/doc/${pkgname%-git}/"
cp -r usr etc "$pkgdir"
}
|