From 1dc332ade8d10304e1025ccae947840631b2cdb6 Mon Sep 17 00:00:00 2001 From: Piraty Date: Tue, 25 Feb 2020 11:29:46 +0100 Subject: [PATCH] bspwm: switch to gnu-makefile build-style --- srcpkgs/bspwm/template | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template index df8fdee1f5f..91fa6c38351 100644 --- a/srcpkgs/bspwm/template +++ b/srcpkgs/bspwm/template @@ -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 " @@ -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 }