void-packages/srcpkgs/bdf2psf/template

35 lines
847 B
Bash

# Template file for 'bdf2psf'
pkgname=bdf2psf
version=1.211
revision=1
revision=2
depends="perl"
short_desc="Generate console fonts from BDF source fonts"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="https://packages.debian.org/sid/bdf2psf"
distfiles="${DEBIAN_SITE}/main/c/console-setup/console-setup_${version}.tar.xz"
checksum=298de99c8f135c461b0f72eca3376c090e5f86669b35c0b31377674854512125
post_extract() {
vsed -i -e '44s/if (/if (\$\#ARGV \< 0 \|\| /' Fonts/bdf2psf
}
do_install() {
cd Fonts
vbin bdf2psf
vman ../man/bdf2psf.1
for f in *.equivalents *.set; do
vinstall $f 0644 usr/share/bdf2psf
done
vcopy fontsets usr/share/bdf2psf
}
ckbcomp_package() {
depends="perl"
short_desc="Compile a XKB keyboard description to a keymap for loadkeys"
pkg_install() {
vbin Keyboard/ckbcomp
}
}