summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: edb82af771bd2aa0a9d9daa3905e4915b394ddaa (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
# Maintainer: Karmanyaah Malhotra <karmanyaahm@gmail.com>
pkgname=gotify-dunst-git
pkgver=r14.72d83a9f
pkgrel=1
pkgdesc="A simple script for receiving Gotify message notifications via dunst."
arch=('any')
url="https://github.com/ztpnk/gotify-dunst"
license=('GPL3')
depends=('python3' 'python-websocket-client' 'libnotify')
makedepends=('git')
source=("$pkgname::git+https://github.com/ztpnk/gotify-dunst")
noextract=()
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%-VCS}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"

}

package() {
	cd "$srcdir/${pkgname%-VCS}"

	make DESTDIR="$pkgdir/" install

}