2016-07-02 22:29:04 +02:00
|
|
|
# Template file for 'bdf2psf'
|
|
|
|
pkgname=bdf2psf
|
2016-09-19 15:37:44 +02:00
|
|
|
version=1.149
|
2016-07-19 13:50:17 +02:00
|
|
|
revision=1
|
2016-07-02 22:29:04 +02: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-09-19 15:37:44 +02:00
|
|
|
checksum=5af62824c39f3689abfba9250d6742a722bb9e4c800c50b824c5aaf24583c311
|
2016-07-02 22:29:04 +02:00
|
|
|
noarch=yes
|
|
|
|
|
|
|
|
post_extract() {
|
|
|
|
sed -i '44s/if (/if (\$\#ARGV \< 0 \|\| /' Fonts/bdf2psf
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2016-07-03 17:21:57 +02:00
|
|
|
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 22:29:04 +02:00
|
|
|
}
|