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

27 lines
644 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}/1.fc33/noarch/twitter-${MY_PN}-fonts-${PV}-1.fc33.noarch.rpm"
LICENSE="MIT CC-BY-4.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
BDEPEND="app-arch/libarchive[zstd]"
S="${WORKDIR}/usr/share/fonts/${MY_PN}"
FONT_S="${S}"
FONT_CONF=( "${FILESDIR}/75-${MY_PN}.conf" )
FONT_SUFFIX="ttf"
src_unpack() {
bsdtar xf "${DISTDIR}/${A}" || die
}