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 | |
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>
-rw-r--r-- | media-fonts/gohufont/gohufont-2.1-r1.ebuild | 21 | ||||
-rw-r--r-- | media-fonts/gohufont/gohufont-9999.ebuild | 32 | ||||
-rw-r--r-- | media-fonts/gohufont/metadata.xml | 3 |
3 files changed, 50 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 ) diff --git a/media-fonts/gohufont/gohufont-9999.ebuild b/media-fonts/gohufont/gohufont-9999.ebuild new file mode 100644 index 0000000..50c8943 --- /dev/null +++ b/media-fonts/gohufont/gohufont-9999.ebuild @@ -0,0 +1,32 @@ +# Copyright 2018-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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/" + +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" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +DOCS=( README.md ) diff --git a/media-fonts/gohufont/metadata.xml b/media-fonts/gohufont/metadata.xml index 7869e07..e418e23 100644 --- a/media-fonts/gohufont/metadata.xml +++ b/media-fonts/gohufont/metadata.xml @@ -5,4 +5,7 @@ <email>azahi@teknik.io</email> <name>azahi</name> </maintainer> + <upstream> + <remote-id type="github">hchargois/gohufont</remote-id> + </upstream> </pkgmetadata> |