# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=bspwm
pkgver=0.9.10
pkgrel=4
pkgdesc="Tiling window manager based on binary space partitioning"
url="https://github.com/baskerville/bspwm"
arch="all"
license="BSD-2-Clause"
makedepends="libxcb-dev xcb-util-dev xcb-util-wm-dev xcb-util-keysyms-dev"
options="!check" # Requires connecting to bspwm socket
subpackages="
	$pkgname-doc
	$pkgname-zsh-completion
	$pkgname-bash-completion
	$pkgname-fish-completion
	"
source="$pkgname-$pkgver.tar.gz::https://github.com/baskerville/bspwm/archive/$pkgver.tar.gz"

build() {
	make PREFIX=/usr
}

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

sha512sums="
9ccb98c4e80635a781b3f889d8c3ae621c0926a79e9607268924b78bd11137caf70ee9a1edf5bc137d362d2acbe2984645f58ba31c586e6b017797758a66f9cf  bspwm-0.9.10.tar.gz
"
