bspwm: switch to gnu-makefile build-style

This commit is contained in:
Piraty 2020-02-25 11:29:46 +01:00
parent 37adf59234
commit 1dc332ade8

View file

@ -1,7 +1,8 @@
# Template file for 'bspwm'
pkgname=bspwm
version=0.9.9
revision=1
revision=2
build_style=gnu-makefile
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>"
@ -10,14 +11,6 @@ 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
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
vinstall contrib/fish_completion 644 usr/share/fish/completions bspc.fish
}