# Contributor: Olivier Mauras <olivier@mauras.ch>
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=sxhkd
pkgver=0.5.9
pkgrel=1
pkgdesc="Simple X hotkey daemon"
url="https://github.com/baskerville/sxhkd"
arch="all"
license="BSD-2-Clause"
makedepends="libxcb-dev xcb-util-keysyms-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/baskerville/sxhkd/archive/$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	make PREFIX=/usr
}

package() {
	cd "$builddir"
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="32ee7261b4fa10d5a62a7fa61e689977d12afd654e81123711bda1f006e4b6baa7524352086037594e6ef1989dd8fcb6eddc1114085ee91546a69f6d1146924e  sxhkd-0.5.9.tar.gz"
