diff options
author | Zesko | 2022-08-28 20:06:32 +0200 |
---|---|---|
committer | Zesko | 2022-08-28 20:06:32 +0200 |
commit | eaef8cf94f3c0b9660699f143fc1b64b9edfe5f9 (patch) | |
tree | fc7b4d48eba375d27e29479fa02437d2cb82a685 | |
download | aur-eaef8cf94f3c0b9660699f143fc1b64b9edfe5f9.tar.gz |
Added PKGBUILD
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5bcb7178d3e6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = systemd-timer-notify-git + pkgdesc = The notification displays on Desktop when systemd-service is started and processed, the notification will be closed automatically when systemd-service's process is done. + pkgver = r5.fed1ef7 + pkgrel = 1 + url = https://gitlab.com/Zesko/systemd-timer-notify.git + arch = any + license = GPL3 + makedepends = git + depends = python + depends = dunst + depends = systemd + provides = systemd-timer-notify + conflicts = systemd-timer-notify + backup = etc/systemd-timer-notify.conf + source = git+https://gitlab.com/Zesko/systemd-timer-notify.git + sha256sums = SKIP + +pkgname = systemd-timer-notify-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a2c6b30950be --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Zesko +pkgname=systemd-timer-notify-git +pkgver=r5.fed1ef7 +pkgrel=1 +pkgdesc="The notification displays on Desktop when systemd-service is started and processed, the notification will be closed automatically when systemd-service's process is done." +arch=('any') +url="https://gitlab.com/Zesko/systemd-timer-notify.git" +license=('GPL3') +depends=('python' 'dunst' 'systemd') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +backup=("etc/${pkgname%-git}.conf") +source=('git+https://gitlab.com/Zesko/systemd-timer-notify.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" +} |