27 lines
785 B
Bash
27 lines
785 B
Bash
# Template file for 'font-spleen'
|
|
pkgname=font-spleen
|
|
version=1.5.0
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="spleen-${version}"
|
|
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"
|
|
checksum=a346844625416ede531bcb720bc786924792a0538fe90c8f1215d619dcd0f6c2
|
|
font_dirs="/usr/share/fonts/X11/spleen"
|
|
|
|
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 644 usr/share/fonts/X11/spleen
|
|
vlicense LICENSE
|
|
}
|