diff options
author | Azat Bahawi <azahi@teknik.io> | 2020-09-27 19:54:56 +0300 |
---|---|---|
committer | Azat Bahawi <azahi@teknik.io> | 2020-09-27 19:55:06 +0300 |
commit | 4cad2984070061684faf039fc60b5429fe7c7e65 (patch) | |
tree | 95a6e0ebe6322ace37d183d61e803cbfd4d717da /media-fonts/gohufont/gohufont-2.1-r1.ebuild | |
parent | Update TODO (diff) |
media-fonts/gohufont: Add live, update metadata
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Azat Bahawi <azahi@teknik.io>
Diffstat (limited to '')
-rw-r--r-- | media-fonts/gohufont/gohufont-2.1-r1.ebuild | 21 |
1 files changed, 15 insertions, 6 deletions
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 ) |