summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-fonts/alegreya-sans/alegreya-sans-2.008.ebuild')
-rw-r--r--media-fonts/alegreya-sans/alegreya-sans-2.008.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/media-fonts/alegreya-sans/alegreya-sans-2.008.ebuild b/media-fonts/alegreya-sans/alegreya-sans-2.008.ebuild
index 1bfb6dfb8cd4..ed6906668cf2 100644
--- a/media-fonts/alegreya-sans/alegreya-sans-2.008.ebuild
+++ b/media-fonts/alegreya-sans/alegreya-sans-2.008.ebuild
@@ -3,11 +3,12 @@
EAPI=6
+MY_PN="Alegreya-Sans"
inherit font
DESCRIPTION="A humanist sans-serif typeface with a calligraphic, dynamic feeling"
HOMEPAGE="https://www.huertatipografica.com/en/fonts/alegreya-sans-ht"
-SRC_URI="https://github.com/huertatipografica/Alegreya-Sans/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/huertatipografica/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="OFL-1.1"
SLOT="0"
@@ -15,6 +16,6 @@ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE=""
DOCS="CONTRIBUTORS.txt README.md"
-S=${WORKDIR}
-FONT_S=${WORKDIR}
+S="${WORKDIR}/${MY_PN}-${PV}"
+FONT_S="${S}/fonts/ttf"
FONT_SUFFIX="ttf"