2019-01-11 17:15:28 +01:00
|
|
|
# Template file for 'font-spleen'
|
|
|
|
pkgname=font-spleen
|
2019-02-07 16:25:12 +01:00
|
|
|
version=1.0.4
|
|
|
|
revision=1
|
2019-01-11 20:39:49 +01:00
|
|
|
noarch=yes
|
|
|
|
wrksrc="spleen-${version}"
|
|
|
|
font_dirs="/usr/share/fonts/X11/spleen"
|
2019-01-11 17:15:28 +01:00
|
|
|
hostmakedepends="bdftopcf"
|
|
|
|
depends="font-util"
|
|
|
|
short_desc="Monospaced bitmap fonts"
|
|
|
|
maintainer="Renato Aguiar <renato@renag.me>"
|
|
|
|
license="BSD-2-Clause"
|
|
|
|
homepage="https://github.com/fcambus/spleen"
|
|
|
|
distfiles="https://github.com/fcambus/spleen/releases/download/${version}/spleen-${version}.tar.gz"
|
2019-02-07 16:25:12 +01:00
|
|
|
checksum=6f6860ae947a6bd507259175dbaa57fad88a6e26e633a5d67f370ffb7c51c2f4
|
2019-01-11 17:15:28 +01:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vmkdir usr/share/fonts/X11/spleen
|
|
|
|
for f in *.bdf; do
|
|
|
|
out=${f%.bdf}.pcf.gz
|
|
|
|
bdftopcf -t $f | gzip -n9 > $out
|
|
|
|
vinstall $out 644 usr/share/fonts/X11/spleen
|
|
|
|
done
|
|
|
|
vinstall fonts.alias-spleen 644 usr/share/fonts/X11/spleen fonts.alias
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|