void-packages/srcpkgs/bspwm/template

23 lines
704 B
Bash

# Template file for 'bspwm'
pkgname=bspwm
version=0.9
revision=3
build_style=gnu-makefile
hostmakedepends="git"
makedepends="libxcb-devel xcb-util-devel xcb-util-wm-devel"
short_desc="A tiling window manager based on binary space partitioning"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD"
homepage="https://github.com/baskerville/bspwm"
do_fetch() {
local url="git://github.com/baskerville/bspwm"
msg_normal "Fetching source from $url ...\n"
git clone -b${version} ${url} ${pkgname}-${version}
}
post_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
}