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'
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 <linuxienATlegtuxDOTorg>"
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