# Template file for 'herbstluftwm' pkgname=herbstluftwm version=0.6.2 revision=2 hostmakedepends="pkg-config" makedepends="libXinerama-devel libglib-devel" conf_files="/etc/xdg/${pkgname}/autostart" short_desc="A manual tiling window manager for X" maintainer="Juan RP " license="Simplified BSD" homepage="http://herbstluftwm.org" distfiles="http://herbstluftwm.org/tarballs/${pkgname}-${version}.tar.gz" checksum=a89f5c397aee7f1aa3b39dd53bc67e282679f02f1c0bf3c33c41a608e217f0ac do_configure() { sed -e 's,-I/usr/include,,g' -i config.mk } do_build() { make COLOR=0 CC=$CC LD=$CC CFLAGS="$CFLAGS -std=c99" } do_install() { make PREFIX=/usr DESTDIR=${DESTDIR} COLOR=0 install vmkdir usr/share/bash-completion/completions mv ${DESTDIR}/etc/bash_completion.d/* ${DESTDIR}/usr/share/bash-completion/completions }