void-packages/srcpkgs/herbstluftwm/template

26 lines
947 B
Bash

# Template file for 'herbstluftwm'
pkgname=herbstluftwm
version=0.7.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="Orphaned <orphan@voidlinux.org>"
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=dff613fc6d7883ea2011318ef8a7b15b92f7864eaf63229df9ce0e99a44281cd
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
}