void-packages/srcpkgs/bdf2psf/template
2016-07-03 17:21:57 +02:00

27 lines
723 B
Bash

# Template file for 'bdf2psf'
pkgname=bdf2psf
version=1.146
revision=2
wrksrc="console-setup-${version}"
depends="perl"
short_desc="Generate console fonts from BDF source fonts"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="https://packages.debian.org/sid/bdf2psf"
distfiles="${DEBIAN_SITE}/main/c/console-setup/console-setup_${version}.tar.xz"
checksum=578ef609fc82b532ac712ac8e8c93bd4a5ff909c3d55268624167e0e0cae39f0
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
}