void-packages/srcpkgs/alttab/template
2021-04-11 17:06:42 +02:00

26 lines
787 B
Bash

# Template file for 'alttab'
pkgname=alttab
version=1.6.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libX11-devel libXft-devel libXmu-devel libXrandr-devel
libXrender-devel libpng-devel libXpm-devel uthash"
checkdepends="procps-ng xvfb-run xeyes xprop"
short_desc="Task switcher for minimalistic window managers"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/sagb/alttab"
distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
checksum=9d362266a490a969b6398ccef1514dca2668c38c4b824bb11c8d16923bcb58ee
make_check=no # needs cnee/xnee which is not packaged
CFLAGS="-fcommon"
case "$XBPS_TARGET_MACHINE" in
*-musl)
makedepends+=" musl-fts-devel"
export LDFLAGS="-lfts"
;;
esac