void-packages/srcpkgs/cwm-git/template

29 lines
813 B
Text
Raw Normal View History

2013-09-28 11:20:41 +00:00
# Template file for 'cwm-git'
pkgname=cwm-git
2014-07-05 16:09:59 +00:00
version=20140705
2013-09-28 11:20:41 +00:00
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config bison git"
2013-09-28 11:20:41 +00:00
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"
2014-05-31 11:08:42 +00:00
provides="cwm-${version}_${revision}"
replaces="cwm>=0"
2013-09-28 11:20:41 +00:00
do_fetch() {
local url="git://github.com/chneukirchen/cwm"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
pre_build() {
2013-09-28 11:20:41 +00:00
sed -i 's/^CPPFLAGS+=/CPPFLAGS=/' Makefile
sed -i 's/^LDFLAGS+=/LDFLAGS=/' Makefile
}
post_install() {
2014-07-05 16:09:59 +00:00
vinstall README 644 usr/share/doc/cwm
2013-09-28 11:20:41 +00:00
}