void-packages/srcpkgs/herbstluftwm/template

26 lines
834 B
Text
Raw Normal View History

# Template file for 'herbstluftwm'
pkgname=herbstluftwm
2014-06-23 10:03:55 +00:00
version=0.6.2
revision=1
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 <xtraeme@gmail.com>"
2013-09-12 14:43:34 +00:00
license="Simplified BSD"
homepage="http://herbstluftwm.org"
distfiles="http://herbstluftwm.org/tarballs/${pkgname}-${version}.tar.gz"
2014-06-23 10:03:55 +00:00
checksum=a89f5c397aee7f1aa3b39dd53bc67e282679f02f1c0bf3c33c41a608e217f0ac
2014-06-23 10:03:55 +00:00
do_configure() {
sed -e 's,-I/usr/include,,g' -i config.mk
}
do_build() {
2014-06-23 10:03:55 +00:00
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
}