From 81b17dbb26935a84b13b232d0ef193292879bf26 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Mon, 27 Jul 2015 12:56:20 +0200 Subject: [PATCH] monsterwm-git: update to 20120304. --- srcpkgs/monsterwm-git/template | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/srcpkgs/monsterwm-git/template b/srcpkgs/monsterwm-git/template index a07d1c8083..baf7884413 100644 --- a/srcpkgs/monsterwm-git/template +++ b/srcpkgs/monsterwm-git/template @@ -1,8 +1,9 @@ # Template file for 'monsterwm-git' pkgname=monsterwm-git -version=20140803 +reverts=20140803_1 +version=20120304 revision=1 -hostmakedepends="git" +_commit=eb3820f877a624e00be5a0ee28feb943889cb915 makedepends="libX11-devel" build_style=gnu-makefile make_build_args="INCS=-I. LIBS=-lX11" @@ -12,12 +13,11 @@ license="MIT" homepage="https://github.com/c00kiemon5ter/monsterwm" provides="monsterwm-${version}_${revision}" replaces="monsterwm>=0" - -do_fetch() { - local url="git://github.com/c00kiemon5ter/monsterwm" - msg_normal "Fetching source from $url ...\n" - git clone ${url} ${pkgname}-${version} -} +CFLAGS="-DVERSION=$version -std=c11" +LDFLAGS="-lX11" +wrksrc=monsterwm-$_commit +distfiles="$homepage/archive/$_commit.tar.gz" +checksum=404dc50128daee172af2e3c836d4979b675814491db59fde1b039fc6069aca54 pre_build() { cp ${FILESDIR}/config.h config.h