diff --git a/srcpkgs/monsterwm-git/template b/srcpkgs/monsterwm-git/template index a07d1c80835..baf78844133 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