28 lines
816 B
Text
28 lines
816 B
Text
# Template file for 'cwm-git'
|
|
pkgname=cwm-git
|
|
version=20140531
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
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}
|
|
}
|
|
|
|
pre_build() {
|
|
sed -i 's/^CPPFLAGS+=/CPPFLAGS=/' Makefile
|
|
sed -i 's/^LDFLAGS+=/LDFLAGS=/' Makefile
|
|
}
|
|
|
|
post_install() {
|
|
vinstall README 644 usr/share/doc/${pkgname}
|
|
}
|