void-packages/srcpkgs/spectrwm/template

28 lines
848 B
Bash

# Template file for 'spectrwm'
pkgname=spectrwm
version=3.4.1
revision=3
_distname=SPECTRWM_${version//./_}
wrksrc="spectrwm-${_distname}"
build_style=gnu-makefile
make_build_args='-C linux SYSCONFDIR=/etc'
make_install_args="$make_build_args"
hostmakedepends="pkg-config"
makedepends="libXcursor-devel libXft-devel libXrandr-devel libXt-devel
xcb-util-keysyms-devel xcb-util-wm-devel"
short_desc="Small dynamic tiling window manager for X11"
maintainer="Jakub Skrzypnik <jot.skrzyp@gmail.com>"
license="ISC"
homepage="http://spectrwm.org"
distfiles="https://github.com/conformal/spectrwm/archive/${_distname}.tar.gz"
checksum=c030ef30bd11bbdfce3d4a1daf51f0c1358821ba95ebdc4cdb32d3944c8ce03c
conf_files="/etc/spectrwm.conf"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
post_install() {
vlicense LICENSE.md
}