diff options
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 ) |