spf_template xorg &&
spf_template perl_lib &&
spf_template_xorg_section data &&
spf_url watch 'http://ftp.x.org/pub/individual/data/xkeyboard-config/' &&
spf_url src   "http://ftp.x.org/pub/individual/data/xkeyboard-config/xkeyboard-config-${spf_version?}.tar.bz2" &&
spf_depend intltool flags none &&
spf_depend cpan-xml-parser flags none &&
case ${spf_version?} in
  1.*|2.[01]) :;;
  *)
    spf_depend xproto flags include &&
    spf_depend libx11 flags include;;
esac &&
spf_cc_ nls &&
spf_template_gnu_do_before_configure() { spf_template_perl_lib_env; } &&
spf_template_gnu_do_after_install() {
  mkdir "${spf_path_prefix?}"/share/X11/xkb/compiled
} &&
spf_tested_version 2.2.1 &&
spf_tested_version 2.1 &&
spf_tested_version 2.0 &&
spf_tested_version 1.9 &&
spf_tested_version 1.4

