cwm: update to 6.2.

This commit is contained in:
Leah Neukirchen 2017-10-17 19:18:21 +02:00
parent 8a26bea9b7
commit 0a65f1248a

View file

@ -1,20 +1,18 @@
# Template file for 'cwm # Template file for 'cwm
pkgname=cwm pkgname=cwm
version=5.6 version=6.2
revision=3 revision=1
build_style=gnu-makefile build_style=gnu-makefile
hostmakedepends="pkg-config bison" hostmakedepends="pkg-config bison"
makedepends="fontconfig-devel libXft-devel libXinerama-devel libXrandr-devel libX11-devel" makedepends="fontconfig-devel libXft-devel libXinerama-devel libXrandr-devel libX11-devel"
short_desc="Lightweight and efficient window manager for X11" short_desc="Lightweight and efficient window manager for X11"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>" maintainer="Leah Neukirchen <leah@vuxu.org>"
license="ISC" license="ISC"
homepage="http://www.openbsd.org/cgi-bin/man.cgi?query=cwm&manpath=OpenBSD+Current&format=html" homepage="http://man.openbsd.org/cwm"
distfiles="https://github.com/chneukirchen/cwm/archive/v${version}.tar.gz" distfiles="https://github.com/chneukirchen/cwm/archive/v${version}.tar.gz"
checksum="006320bb1716cc0f93bac5634dcccd01f21d468263b5fc9d1be2dd11078a0625" checksum=3d21efeaeeb4f02cb84ee123c7d40766086785ad46720125fe0bacdb251413ad
replaces="cwm-git>=0"
post_extract() { post_extract() {
sed -i 's,WAIT_ANY,-1,g' *.c
sed -i 's/^\(LD\|CPP\)FLAGS/override &/' Makefile sed -i 's/^\(LD\|CPP\)FLAGS/override &/' Makefile
sed '/\*\//q' calmwm.c >LICENSE sed '/\*\//q' calmwm.c >LICENSE
} }