From b0386088c6460ff385b299ff9075af669a920e21 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 1 Aug 2014 21:56:03 +0200 Subject: [PATCH] 2bwm-git: use our {C,LD}FLAGS; use vman/vdoc. --- srcpkgs/2bwm-git/template | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/srcpkgs/2bwm-git/template b/srcpkgs/2bwm-git/template index dcbae148cb6..c49ea7384ff 100644 --- a/srcpkgs/2bwm-git/template +++ b/srcpkgs/2bwm-git/template @@ -1,7 +1,7 @@ # Template file for '2bwm-git' pkgname=2bwm-git version=20140801 -revision=1 +revision=2 build_style=gnu-makefile hostmakedepends="git" makedepends="libxcb-devel xcb-util-devel xcb-util-keysyms-devel xcb-util-wm-devel" @@ -21,15 +21,13 @@ do_fetch() { pre_build() { cp ${FILESDIR}/config.h config.h sed -i '/#include /i#define _GNU_SOURCE' 2bwm.c - sed -i 's/^CFLAGS+=/CFLAGS=/' Makefile - sed -i 's/^LDFLAGS+=/LDFLAGS=/' Makefile CC=$CC } do_install() { vbin 2bwm vbin hidden - install -Dm644 2bwm.man ${DESTDIR}/usr/share/man/man1/2bwm.1 - install -Dm644 hidden.man ${DESTDIR}/usr/share/man/man1/hidden.1 - vinstall README.md 644 usr/share/doc/2bwm README + vman 2bwm.man 2bwm.1 + vman hidden.man hidden.1 + vdoc README.md README }