media-fonts/siji: add siji live 9999 ebuild

This commit is contained in:
XGQT 2020-02-08 17:28:23 +01:00
parent 0a00033e6b
commit 1aa17066ad
No known key found for this signature in database
GPG Key ID: 2089DEC77862433A
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">stark/siji</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,41 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit git-r3 font
DESCRIPTION="An iconic bitmap font based on Stlarch with additional glyphs"
HOMEPAGE="https://github.com/stark/siji"
EGIT_REPO_URI="https://github.com/stark/siji.git"
RESTRICT="mirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="+pcf"
DEPEND="
x11-apps/bdftopcf
"
RDEPEND="
${DEPEND}
"
src_compile() {
if use pcf
then
bdftopcf bdf/${PN}.bdf -o pcf/${PN}.pcf
fi
}
src_install() {
insinto "/usr/share/fonts/${PN}"
if use pcf
then
doins pcf/*
else
doins bdf/*
fi
}