41 lines
1,015 B
Bash
41 lines
1,015 B
Bash
# Template file for 'font-spleen'
|
|
pkgname=font-spleen
|
|
version=1.8.1
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="spleen-${version}"
|
|
build_style=gnu-makefile
|
|
make_cmd=bmake
|
|
make_build_target="pcf psf"
|
|
hostmakedepends="bmake bdftopcf bdf2psf gzip"
|
|
depends="font-util"
|
|
short_desc="Monospaced bitmap fonts"
|
|
maintainer="Renato Aguiar <renato@renatoaguiar.net>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://github.com/fcambus/spleen"
|
|
distfiles="https://github.com/fcambus/spleen/releases/download/${version}/spleen-${version}.tar.gz"
|
|
checksum=59119044399b2262fdf4c504c6f1a8b1230d349dfd07c68a2fb07a394a880e1e
|
|
font_dirs="/usr/share/fonts/X11/spleen"
|
|
|
|
do_configure() {
|
|
${make_cmd} clean
|
|
}
|
|
|
|
post_build() {
|
|
gzip -n9 *.pcf *.psfu
|
|
}
|
|
|
|
do_install() {
|
|
vmkdir usr/share/kbd/consolefonts
|
|
for f in *.psfu.gz; do
|
|
vinstall $f 644 usr/share/kbd/consolefonts
|
|
done
|
|
|
|
vmkdir usr/share/fonts/X11/spleen
|
|
for f in *.pcf.gz; do
|
|
vinstall $f 644 usr/share/fonts/X11/spleen
|
|
done
|
|
vinstall fonts.alias 644 usr/share/fonts/X11/spleen
|
|
|
|
vlicense LICENSE
|
|
}
|