New package: font-spleen-1.0.3
This commit is contained in:
parent
3c7e56589a
commit
aaef2acb7c
|
@ -0,0 +1,24 @@
|
|||
# Template file for 'font-spleen'
|
||||
pkgname=font-spleen
|
||||
version=1.0.3
|
||||
revision=1
|
||||
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=f63ef1dd84e27545b0a42389d0bd4e58393aab211a5d2ce936ebaa97be0672cb
|
||||
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue