Skip to content

Commit

Permalink
media-fonts/joypixels: add licensing postinst
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/796461
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Aisha Tammy <[email protected]>
Closes: gentoo#21282
Signed-off-by: Joonas Niilola <[email protected]>
  • Loading branch information
epsilon-0 authored and juippis committed Jun 18, 2021
1 parent 2d4a9bb commit 66a9d76
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion media-fonts/joypixels/joypixels-6.5.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand All @@ -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
}

0 comments on commit 66a9d76

Please sign in to comment.