diff options
Diffstat (limited to 'media-fonts/joypixels/joypixels-6.6.0.ebuild')
-rw-r--r-- | media-fonts/joypixels/joypixels-6.6.0.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/media-fonts/joypixels/joypixels-6.6.0.ebuild b/media-fonts/joypixels/joypixels-6.6.0.ebuild new file mode 100644 index 000000000000..369c558cb45f --- /dev/null +++ b/media-fonts/joypixels/joypixels-6.6.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +FONT_SUFFIX="ttf" +inherit font readme.gentoo-r1 + +DESCRIPTION="A font for better emoji and unicode support" +HOMEPAGE="https://www.joypixels.com/" +SRC_URI="https://cdn.joypixels.com/distributions/gentoo-linux/font/${PV}/joypixels-android.ttf -> ${P}.ttf" +S="${WORKDIR}" + +#https://cdn.joypixels.com/distributions/gentoo-linux/appendix/joypixels-license-appendix.txt +#https://cdn.joypixels.com/distributions/gentoo-linux/license/free-license.txt +LICENSE="JoyPixels" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +RESTRICT="bindist mirror" + +FONT_CONF=( "${FILESDIR}"/99-joypixels.conf ) + +DOC_CONTENTS="Free for personal/education use only, premium/enterprise license + required for any other use. See: https://www.joypixels.com/licenses" + +src_prepare() { + default + cp "${DISTDIR}"/${P}.ttf "${S}"/${P}.ttf || die +} + +src_install() { + font_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog + font_pkg_postinst +} |