From 950feaef73060302bd65475f563be4e6dd879c81 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 30 May 2015 09:09:09 +0200 Subject: [PATCH] swm: unbreak. --- srcpkgs/swm/template | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/srcpkgs/swm/template b/srcpkgs/swm/template index fbe2191411c..9ab57da3fbc 100644 --- a/srcpkgs/swm/template +++ b/srcpkgs/swm/template @@ -1,22 +1,20 @@ # Template file for 'swm' pkgname=swm version=1.0 -revision=1 +revision=2 makedepends="libxcb-devel" -build_style=gnu-makefile short_desc="A simple window manager" maintainer="Ypnose " license="Public Domain" homepage="https://github.com/dcat/swm" distfiles="https://github.com/dcat/${pkgname}/archive/v${version}.tar.gz" checksum=f0b9b3616f7499a0a7ba0c284e7905ba640626cdc93d33b83a6bcfb781fe1ad0 -wrksrc="${pkgname}-${version}" -pre_build() { +do_build() { sed -i 's|^CFLAGS|#CFLAGS|g' Makefile sed -i 's| -L/usr/X11R6/lib||g' Makefile + make CC=$CC } - do_install() { vbin swm -} \ No newline at end of file +}