diff --git a/srcpkgs/skb/template b/srcpkgs/skb/template new file mode 100644 index 0000000000..45055ea3a0 --- /dev/null +++ b/srcpkgs/skb/template @@ -0,0 +1,23 @@ +# 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 " +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.