summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisha Tammy <gentoo@aisha.cc>2020-04-23 08:20:27 -0400
committerJoonas Niilola <juippis@gentoo.org>2020-04-28 10:44:05 +0300
commit907e6c28c00127cd9f52de6dabb2a6a4beab6a72 (patch)
tree28cdd5fa0bbff2064cf9b6430b2493cc3e4fc6fd /media-fonts/fontawesome/fontawesome-9999.ebuild
parentnet-analyzer/fail2ban: Old (diff)
downloadgentoo-907e6c28c00127cd9f52de6dabb2a6a4beab6a72.tar.gz
gentoo-907e6c28c00127cd9f52de6dabb2a6a4beab6a72.tar.bz2
gentoo-907e6c28c00127cd9f52de6dabb2a6a4beab6a72.zip
media-fonts/fontawesome: version bump to 5.13.0 + new proxy-maint
Closes: https://bugs.gentoo.org/719036 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Aisha Tammy <gentoo@aisha.cc> Closes: https://github.com/gentoo/gentoo/pull/15483 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-fonts/fontawesome/fontawesome-9999.ebuild')
-rw-r--r--media-fonts/fontawesome/fontawesome-9999.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/media-fonts/fontawesome/fontawesome-9999.ebuild b/media-fonts/fontawesome/fontawesome-9999.ebuild
new file mode 100644
index 000000000000..73c98da49484
--- /dev/null
+++ b/media-fonts/fontawesome/fontawesome-9999.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="Font-Awesome"
+inherit font
+
+DESCRIPTION="The iconic font"
+HOMEPAGE="https://fontawesome.com"
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/FortAwesome/${MY_PN}.git"
+else
+ SRC_URI="https://github.com/FortAwesome/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+ S="${WORKDIR}/${MY_PN}-${PV}"
+fi
+
+LICENSE="CC-BY-4.0 OFL-1.1"
+SLOT="0/5"
+IUSE="+otf ttf"
+
+REQUIRED_USE="|| ( otf ttf )"
+
+src_install() {
+ if use otf; then
+ FONT_S="${S}/otfs" FONT_SUFFIX="otf" font_src_install
+ fi
+ if use ttf; then
+ FONT_S="${S}/webfonts" FONT_SUFFIX="ttf" font_src_install
+ fi
+}