void-packages/srcpkgs/skb/template

24 lines
607 B
Bash
Raw Normal View History

# Template file for 'skb'
pkgname=skb
version=0.4
revision=1
build_style=gnu-makefile
makedepends="libX11-devel"
short_desc="Simple keyboard layout indicator"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="GPL-2"
homepage="http://plhk.ru/"
distfiles="http://plhk.ru/static/skb/skb-${version}.tar.gz"
checksum=635d1108ce9d86ac011f0871d1af6e3debb64700ee4682ecb764da0b629ffa64
LDFLAGS="-lX11"
pre_build() {
LD="$CC"
}
# REMARKS:
# We overwrite LD because:
# ld: unrecognized option '-specs=/void-packages/common/environment/configure/gccspecs/hardened-ld'
# but it works just fine with cc instead.