From f9c4b41e26c88d25d97aa9baa08d75ade1d75587 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 18 Jun 2015 20:20:00 +0200 Subject: [PATCH] xcape: unbreak build --- srcpkgs/xcape/template | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/srcpkgs/xcape/template b/srcpkgs/xcape/template index bc61947333..fa8ce2975c 100644 --- a/srcpkgs/xcape/template +++ b/srcpkgs/xcape/template @@ -1,14 +1,19 @@ # Template file for 'xcape' pkgname=xcape version=1.1 -revision=1 -build_style=gnu-makefile +revision=2 hostmakedepends="pkg-config" -makedepends="libX11-devel libXtst-devel libXi-devel" -make_install_args="MANDIR=/share/man/man1" +makedepends="libXtst-devel libXi-devel" short_desc="Allows you to use a single press of a modifier key as another key" maintainer="Matt Carroll " license="GPL-3" homepage="https://github.com/alols/xcape" distfiles="https://github.com/alols/xcape/archive/v${version}.tar.gz" checksum=69ae927a6b2b1268a809b9c3af7c4f94584458f022beb6e2ca3e6bc3ba8a6d4a + +do_build() { + make CC=$CC +} +do_install() { + make MANDIR=/share/man/man1 DESTDIR=${DESTDIR} install +}