void-packages/srcpkgs/alttab/template
Jürgen Buchmüller 1db9f5b962 alttab: needs -fcommon for gcc10
[ci skip]
2020-08-28 18:25:29 +02:00

23 lines
686 B
Bash

# Template file for 'alttab'
pkgname=alttab
version=1.5.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"
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=d170425a34d1a92cf0eb5ba7306bf77729a6c04f211593cc5fdd8a0ab583a280
CFLAGS="-fcommon"
case "$XBPS_TARGET_MACHINE" in
*-musl)
makedepends+=" musl-fts-devel"
export LDFLAGS="-lfts"
;;
esac