2015-03-29 19:16:01 +02:00
|
|
|
# Template file for 'cwm
|
|
|
|
pkgname=cwm
|
|
|
|
version=5.6
|
2015-05-30 08:50:26 +02:00
|
|
|
revision=2
|
2015-03-29 19:16:01 +02:00
|
|
|
hostmakedepends="pkg-config bison"
|
2013-09-28 13:20:41 +02:00
|
|
|
makedepends="fontconfig-devel libXft-devel libXinerama-devel libXrandr-devel libX11-devel"
|
|
|
|
short_desc="Lightweight and efficient window manager for X11"
|
2015-11-17 22:24:45 +01:00
|
|
|
maintainer='Juan RP <xtraeme@voidlinux.eu>'
|
2013-09-28 13:20:41 +02:00
|
|
|
license="ISC"
|
|
|
|
homepage="http://www.openbsd.org/cgi-bin/man.cgi?query=cwm&manpath=OpenBSD+Current&format=html"
|
2015-03-29 19:16:01 +02:00
|
|
|
distfiles="https://github.com/chneukirchen/cwm/archive/v${version}.tar.gz"
|
|
|
|
checksum="006320bb1716cc0f93bac5634dcccd01f21d468263b5fc9d1be2dd11078a0625"
|
|
|
|
replaces="cwm-git>=0"
|
2013-09-28 13:20:41 +02:00
|
|
|
|
2015-05-30 08:50:26 +02:00
|
|
|
do_build() {
|
2013-09-28 13:20:41 +02:00
|
|
|
sed -i 's/^CPPFLAGS+=/CPPFLAGS=/' Makefile
|
|
|
|
sed -i 's/^LDFLAGS+=/LDFLAGS=/' Makefile
|
2015-05-30 08:50:26 +02:00
|
|
|
sed -i 's,WAIT_ANY,-1,g' *.c
|
|
|
|
make CC=$CC
|
2013-09-28 13:20:41 +02:00
|
|
|
}
|
2015-05-30 08:50:26 +02:00
|
|
|
do_install() {
|
|
|
|
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
2014-07-05 18:09:59 +02:00
|
|
|
vinstall README 644 usr/share/doc/cwm
|
2013-09-28 13:20:41 +02:00
|
|
|
}
|