void-packages/srcpkgs/herbstluftwm/template
2016-02-05 07:30:59 +01:00

22 lines
792 B
Bash

# Template file for 'herbstluftwm'
pkgname=herbstluftwm
version=0.7.0
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>"
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"
}
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
}