void-packages/srcpkgs/spectrwm/template

27 lines
812 B
Bash

# Template file for 'spectrwm'
pkgname=spectrwm
version=3.4.1
revision=2
_distname=SPECTRWM_${version//./_}
wrksrc="spectrwm-${_distname}"
build_style=gnu-makefile
make_build_args='-C linux PREFIX=/usr'
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
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
post_install() {
vlicense LICENSE.md
}