You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1022 B
42 lines
1022 B
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit font
|
|
|
|
MY_PN="mikachanfont"
|
|
|
|
DESCRIPTION="Mikachan Japanese TrueType fonts"
|
|
HOMEPAGE="http://mikachan-font.com/"
|
|
SRC_URI="mirror://sourceforge.jp/mikachan/5513/${MY_PN}-${PV}.tar.bz2
|
|
mirror://sourceforge.jp/mikachan/5514/${MY_PN}P-${PV}.tar.bz2
|
|
mirror://sourceforge.jp/mikachan/5515/${MY_PN}PB-${PV}.tar.bz2
|
|
mirror://sourceforge.jp/mikachan/5516/${MY_PN}PS-${PV}.tar.bz2"
|
|
|
|
LICENSE="free-noncomm"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86"
|
|
IUSE=""
|
|
# Only installs fonts
|
|
RESTRICT="strip binchecks"
|
|
|
|
S=${WORKDIR}
|
|
|
|
FONT_CONF=( "${FILESDIR}/60-mikachan.conf" )
|
|
|
|
src_install() {
|
|
insinto /usr/share/fonts/${PN}
|
|
|
|
for f in "${MY_PN}" "${MY_PN}P" "${MY_PN}PB" "${MY_PN}PS" ; do
|
|
cd "${WORKDIR}/${f}-${PV}" || die
|
|
doins fonts/*.ttf
|
|
newdoc README README.${f}
|
|
newdoc README.ja README.ja.${f}
|
|
newdoc ChangeLog ChangeLog.${f}
|
|
done
|
|
|
|
font_xfont_config
|
|
font_fontconfig
|
|
}
|