commit: 66a9d76211e7bd22275263ec2febe5171b9d095e Author: Aisha Tammy <floss <AT> bsd <DOT> ac> AuthorDate: Thu Jun 17 14:55:09 2021 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Fri Jun 18 11:36:22 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66a9d762
media-fonts/joypixels: add licensing postinst Closes: https://bugs.gentoo.org/796461 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> Closes: https://github.com/gentoo/gentoo/pull/21282 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> media-fonts/joypixels/joypixels-6.5.0.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/media-fonts/joypixels/joypixels-6.5.0.ebuild b/media-fonts/joypixels/joypixels-6.5.0.ebuild index 1cdb17d5139..f8ff8c34130 100644 --- a/media-fonts/joypixels/joypixels-6.5.0.ebuild +++ b/media-fonts/joypixels/joypixels-6.5.0.ebuild @@ -4,7 +4,7 @@ EAPI=7 FONT_SUFFIX="ttf" -inherit font +inherit font readme.gentoo-r1 DESCRIPTION="A font for better emoji and unicode support" HOMEPAGE="https://www.joypixels.com/" @@ -20,7 +20,16 @@ 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: + 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 +}
