void-packages/srcpkgs/bspwm/template

24 lines
798 B
Bash

# Template file for 'bspwm'
pkgname=bspwm
version=0.9.7
revision=1
makedepends="xcb-util-wm-devel xcb-util-keysyms-devel"
short_desc="Tiling window manager based on binary space partitioning"
maintainer="Nathan Owens <ndowens04@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/baskerville/bspwm"
distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
checksum=336c28a272b2a3d5f5324a4634143ff8fdb07648c110ac48b1a480a50e583a5d
do_build() {
make CC=$CC
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
vlicense LICENSE
vinstall contrib/bash_completion 644 usr/share/bash-completion/completions bspc
vinstall contrib/zsh_completion 644 usr/share/zsh/site-functions _bspc
vinstall contrib/fish_completion 644 usr/share/fish/completions bspc.fish
}