diff --git a/srcpkgs/dzen2/template b/srcpkgs/dzen2/template index 2de8fada968..60ec1a50bc1 100644 --- a/srcpkgs/dzen2/template +++ b/srcpkgs/dzen2/template @@ -1,17 +1,18 @@ # Template file for 'dzen2' pkgname=dzen2 -version=20140623 +reverts=20140623_1 +version=20130923 revision=1 -hostmakedepends="pkg-config git" +_commit=488ab66019f475e35e067646621827c18a879ba1 +wrksrc=dzen-$_commit +hostmakedepends="pkg-config" makedepends="libXinerama-devel libXft-devel libXpm-devel" short_desc="X notification utility" maintainer="Juan RP " license="MIT" homepage="https://github.com/robm/dzen" - -do_fetch() { - git clone git://github.com/robm/dzen ${pkgname}-${version} -} +distfiles="$homepage/archive/$_commit.tar.gz" +checksum=6861f6ff918055b286b650f33aef97df9bcf1891a255dc5d57850f6420ecdb7c do_build() { CFLAGS+=' -Wall -I. -DVERSION=\"${VERSION}\" -DDZEN_XINERAMA -DDZEN_XPM -DDZEN_XFT `pkg-config --cflags xft`'