void-packages/srcpkgs/herbstluftwm/template

26 lines
946 B
Bash

# Template file for 'herbstluftwm'
pkgname=herbstluftwm
version=0.7.1
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="BSD-2-Clause"
homepage="http://herbstluftwm.org"
changelog="https://raw.githubusercontent.com/herbstluftwm/herbstluftwm/master/NEWS"
distfiles="http://herbstluftwm.org/tarballs/${pkgname}-${version}.tar.gz"
checksum=dc0ef362013f4eb68314e120010f8cb426eb615b87f8054d6aa8e1dee5a28734
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
}