void-packages/srcpkgs/herbstluftwm/template

25 lines
862 B
Bash

# Template file for 'herbstluftwm'
pkgname=herbstluftwm
version=0.7.0
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 <xtraeme@voidlinux.eu>"
license="2-clause-BSD"
homepage="http://herbstluftwm.org"
distfiles="http://herbstluftwm.org/tarballs/${pkgname}-${version}.tar.gz"
checksum=7e2ffc30b7911407230a5eeb61e044cea78557999107d372bc2dbc3d82d0ae27
do_build() {
make COLOR=0 CXX="$CXX" CC="$CC" LD="$CC" LDXX="$CXX" \
CFLAGS="$CFLAGS -std=c99" LDFLAGS="$LDFLAGS" LDXXFLAGS="$LDFLAGS"
}
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
vlicense LICENSE
}