void-packages/srcpkgs/bdf2psf/template
2018-10-30 14:26:51 +01:00

27 lines
720 B
Bash

# Template file for 'bdf2psf'
pkgname=bdf2psf
version=1.187
revision=1
noarch=yes
wrksrc="console-setup-${version}"
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=023f5a7fd81f53964b1dc059bb64abf23aa8edaf62acda28b2d17d74d1039ec0
post_extract() {
sed -i '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
}