void-packages/srcpkgs/alttab/template

28 lines
851 B
Bash

# Template file for 'alttab'
pkgname=alttab
version=1.6.1
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"
changelog="https://github.com/sagb/alttab/raw/master/ChangeLog"
distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
checksum=0964653440ec42d56b022ea5df081489196956054b365198851057a6a71dba91
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