2013-09-28 11:20:41 +00:00
|
|
|
# Template file for 'cwm-git'
|
|
|
|
pkgname=cwm-git
|
2013-12-30 14:49:57 +00:00
|
|
|
version=20131230
|
2013-09-28 11:20:41 +00:00
|
|
|
revision=1
|
2013-12-30 14:49:57 +00:00
|
|
|
build_style=gnu-makefile
|
2013-09-28 11:20:41 +00:00
|
|
|
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"
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local url="git://github.com/chneukirchen/cwm"
|
|
|
|
msg_normal "Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
2013-12-30 14:49:57 +00:00
|
|
|
pre_build() {
|
2013-09-28 11:20:41 +00:00
|
|
|
sed -i 's/^CPPFLAGS+=/CPPFLAGS=/' Makefile
|
|
|
|
sed -i 's/^LDFLAGS+=/LDFLAGS=/' Makefile
|
|
|
|
}
|
|
|
|
|
2013-12-30 14:49:57 +00:00
|
|
|
post_install() {
|
|
|
|
vinstall README 644 usr/share/doc/${pkgname}
|
2013-09-28 11:20:41 +00:00
|
|
|
}
|