27 lines
698 B
Bash
27 lines
698 B
Bash
# Template file for 'bdf2psf'
|
|
pkgname=bdf2psf
|
|
version=1.174
|
|
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"
|
|
homepage="https://packages.debian.org/sid/bdf2psf"
|
|
distfiles="${DEBIAN_SITE}/main/c/console-setup/console-setup_${version}.tar.xz"
|
|
checksum=fab0de0832471c16e61dda901f2405acb1e0dd98c5516e391e25e97710c241e6
|
|
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
|
|
}
|