1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 07:22:38 +01:00
Files
sunny-overlay/media-fonts/twemoji-ttf/twemoji-ttf-14.0.2.ebuild

31 lines
649 B
Bash

# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit font
MY_PN="${PN%-ttf}"
DESCRIPTION="Twitter Emoji for everyone"
HOMEPAGE="https://twemoji.twitter.com/"
SRC_URI="https://kojipkgs.fedoraproject.org/packages/twitter-${MY_PN}-fonts/${PV}/2.fc37/noarch/twitter-${MY_PN}-fonts-${PV}-2.fc37.noarch.rpm"
S="${WORKDIR}/usr/share/fonts/${MY_PN}"
LICENSE="MIT CC-BY-4.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
BDEPEND="
app-arch/libarchive[zstd]
"
FONT_S="${S}"
FONT_CONF=( "${FILESDIR}/75-${MY_PN}.conf" )
FONT_SUFFIX="ttf"
src_unpack() {
bsdtar xf "${DISTDIR}/${A}" || die
}