void-packages/srcpkgs/bspwm-git/template

25 lines
765 B
Text

# Template file for 'bspwm-git'
pkgname=bspwm-git
version=20140920
revision=1
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="Ypnose <linuxienATlegtuxDOTorg>"
license="BSD"
homepage="https://github.com/baskerville/bspwm"
provides="bspwm-${version}_${revision}"
replaces="bspwm>=0"
do_fetch() {
local url="git://github.com/baskerville/bspwm"
msg_normal "Fetching source from $url ...\n"
git clone ${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
}