void-packages/srcpkgs/bdf2psf/template
maxice8 93e0eea588 bdf2psf: update to 1.184.
Closes #13588.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-04-18 23:48:51 +02:00

27 lines
709 B
Bash

# Template file for 'bdf2psf'
pkgname=bdf2psf
version=1.184
revision=1
wrksrc="console-setup"
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=7c010f152003331f5560246494f781eca237b87bed69cb8cde6fae54c604fcb3
noarch=yes
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
}