From cc19a290fb7ef73ade38942439984a9f71e03578 Mon Sep 17 00:00:00 2001 From: Dominik Honnef Date: Sun, 29 Mar 2015 19:16:01 +0200 Subject: [PATCH] cwm: use versioned releases instead of git --- srcpkgs/{cwm-git => cwm}/template | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) rename srcpkgs/{cwm-git => cwm}/template (62%) diff --git a/srcpkgs/cwm-git/template b/srcpkgs/cwm/template similarity index 62% rename from srcpkgs/cwm-git/template rename to srcpkgs/cwm/template index 474a81db6b..069bbbef75 100644 --- a/srcpkgs/cwm-git/template +++ b/srcpkgs/cwm/template @@ -1,22 +1,17 @@ -# Template file for 'cwm-git' -pkgname=cwm-git -version=20141213 +# Template file for 'cwm +pkgname=cwm +version=5.6 revision=1 build_style=gnu-makefile -hostmakedepends="pkg-config bison git" +hostmakedepends="pkg-config bison" makedepends="fontconfig-devel libXft-devel libXinerama-devel libXrandr-devel libX11-devel" short_desc="Lightweight and efficient window manager for X11" maintainer="Ypnose " license="ISC" homepage="http://www.openbsd.org/cgi-bin/man.cgi?query=cwm&manpath=OpenBSD+Current&format=html" -provides="cwm-${version}_${revision}" -replaces="cwm>=0" - -do_fetch() { - local url="git://github.com/chneukirchen/cwm" - msg_normal "Fetching source from $url ...\n" - git clone ${url} ${pkgname}-${version} -} +distfiles="https://github.com/chneukirchen/cwm/archive/v${version}.tar.gz" +checksum="006320bb1716cc0f93bac5634dcccd01f21d468263b5fc9d1be2dd11078a0625" +replaces="cwm-git>=0" pre_build() { sed -i 's/^CPPFLAGS+=/CPPFLAGS=/' Makefile