cwm: use versioned releases instead of git
This commit is contained in:
parent
24ff84127f
commit
cc19a290fb
1 changed files with 7 additions and 12 deletions
|
@ -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
|
Loading…
Reference in a new issue