font-spleen: update to 1.6.0
This commit is contained in:
parent
2736dae702
commit
353a6d727f
1 changed files with 23 additions and 8 deletions
|
@ -1,26 +1,41 @@
|
|||
# Template file for 'font-spleen'
|
||||
pkgname=font-spleen
|
||||
version=1.5.0
|
||||
version=1.6.0
|
||||
revision=1
|
||||
archs=noarch
|
||||
wrksrc="spleen-${version}"
|
||||
hostmakedepends="bdftopcf"
|
||||
build_style=gnu-makefile
|
||||
make_cmd=bmake
|
||||
make_build_args="PREFIX=/usr"
|
||||
hostmakedepends="bmake bdftopcf bdf2psf gzip"
|
||||
depends="font-util"
|
||||
short_desc="Monospaced bitmap fonts"
|
||||
maintainer="Renato Aguiar <renato@renag.me>"
|
||||
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=a346844625416ede531bcb720bc786924792a0538fe90c8f1215d619dcd0f6c2
|
||||
checksum=58aa8266e87c337087716c4cfd03e4eba97a0426a25e0326fb681915c137bb15
|
||||
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 *.bdf; do
|
||||
out=${f%.bdf}.pcf.gz
|
||||
bdftopcf -t $f | gzip -n9 > $out
|
||||
vinstall $out 644 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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue