void-packages/srcpkgs/herbstluftwm/template

26 lines
837 B
Bash
Raw Normal View History

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