void-packages/srcpkgs/bdf2psf/template

28 lines
723 B
Bash
Raw Normal View History

2016-07-02 20:29:04 +00:00
# Template file for 'bdf2psf'
pkgname=bdf2psf
2016-10-21 11:20:37 +00:00
version=1.152
2016-10-14 16:32:43 +00:00
revision=1
2016-07-02 20:29:04 +00:00
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"
2016-10-21 11:20:37 +00:00
checksum=db899b32c3cdb0b598dbcad582412cdcd83a3ac5b5d60ddc8a8e7077fd2ca10f
2016-07-02 20:29:04 +00:00
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
2016-07-02 20:29:04 +00:00
}