From 4cad2984070061684faf039fc60b5429fe7c7e65 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sun, 27 Sep 2020 19:54:56 +0300 Subject: media-fonts/gohufont: Add live, update metadata Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Azat Bahawi --- media-fonts/gohufont/gohufont-2.1-r1.ebuild | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'media-fonts/gohufont/gohufont-2.1-r1.ebuild') diff --git a/media-fonts/gohufont/gohufont-2.1-r1.ebuild b/media-fonts/gohufont/gohufont-2.1-r1.ebuild index a83cf70..50c8943 100644 --- a/media-fonts/gohufont/gohufont-2.1-r1.ebuild +++ b/media-fonts/gohufont/gohufont-2.1-r1.ebuild @@ -3,21 +3,30 @@ EAPI=7 -inherit font font-ebdftopcf +if [[ ${PV} == *9999 ]]; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/hchargois/gohufont.git" +fi + +inherit font font-ebdftopcf ${SCM} DESCRIPTION="A monospace bitmap font" HOMEPAGE="http://font.gohu.org/" -SRC_URI="https://github.com/hchargois/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +if [[ ${PV} == *9999 ]]; then + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://github.com/hchargois/gohufont/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi LICENSE="WTFPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="" RDEPEND="${DEPEND}" BDEPEND="" -src_compile() { - font-ebdftopcf_src_compile -} +DOCS=( README.md ) -- cgit 1.4.1