cwm: use versioned releases instead of git

This commit is contained in:
Dominik Honnef 2015-03-29 19:16:01 +02:00
parent 24ff84127f
commit cc19a290fb

View file

@ -1,22 +1,17 @@
# Template file for 'cwm-git' # Template file for 'cwm
pkgname=cwm-git pkgname=cwm
version=20141213 version=5.6
revision=1 revision=1
build_style=gnu-makefile build_style=gnu-makefile
hostmakedepends="pkg-config bison git" hostmakedepends="pkg-config bison"
makedepends="fontconfig-devel libXft-devel libXinerama-devel libXrandr-devel libX11-devel" makedepends="fontconfig-devel libXft-devel libXinerama-devel libXrandr-devel libX11-devel"
short_desc="Lightweight and efficient window manager for X11" short_desc="Lightweight and efficient window manager for X11"
maintainer="Ypnose <linuxienATlegtuxDOTorg>" maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="ISC" license="ISC"
homepage="http://www.openbsd.org/cgi-bin/man.cgi?query=cwm&manpath=OpenBSD+Current&format=html" homepage="http://www.openbsd.org/cgi-bin/man.cgi?query=cwm&manpath=OpenBSD+Current&format=html"
provides="cwm-${version}_${revision}" distfiles="https://github.com/chneukirchen/cwm/archive/v${version}.tar.gz"
replaces="cwm>=0" checksum="006320bb1716cc0f93bac5634dcccd01f21d468263b5fc9d1be2dd11078a0625"
replaces="cwm-git>=0"
do_fetch() {
local url="git://github.com/chneukirchen/cwm"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
pre_build() { pre_build() {
sed -i 's/^CPPFLAGS+=/CPPFLAGS=/' Makefile sed -i 's/^CPPFLAGS+=/CPPFLAGS=/' Makefile