summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisha Tammy <floss@bsd.ac>2021-06-17 14:55:09 +0000
committerJoonas Niilola <juippis@gentoo.org>2021-06-18 14:36:22 +0300
commit66a9d76211e7bd22275263ec2febe5171b9d095e (patch)
treeb3c581d0e4c00ce38c3e695b15366fe388bb8fd9 /media-fonts/joypixels
parentnet-p2p/litecoind: add 0.18.1 (diff)
downloadgentoo-66a9d76211e7bd22275263ec2febe5171b9d095e.tar.gz
gentoo-66a9d76211e7bd22275263ec2febe5171b9d095e.tar.bz2
gentoo-66a9d76211e7bd22275263ec2febe5171b9d095e.zip
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@aisha.cc> Closes: https://github.com/gentoo/gentoo/pull/21282 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-fonts/joypixels')
-rw-r--r--media-fonts/joypixels/joypixels-6.5.0.ebuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/media-fonts/joypixels/joypixels-6.5.0.ebuild b/media-fonts/joypixels/joypixels-6.5.0.ebuild
index 1cdb17d51393..f8ff8c341308 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
+}