void-packages/srcpkgs/bspwm/template

24 lines
798 B
Bash

# Template file for 'bspwm'
pkgname=bspwm
version=0.9.9
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=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
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
}