media-fonts/solarize: add live ebuild
authorGeorgy Yakovlev <gyakovlev@gentoo.org>
Fri, 14 Dec 2018 10:09:01 +0000 (02:09 -0800)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Fri, 14 Dec 2018 10:09:58 +0000 (02:09 -0800)
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
media-fonts/solarize/solarize-9999.ebuild [new file with mode: 0644]

diff --git a/media-fonts/solarize/solarize-9999.ebuild b/media-fonts/solarize/solarize-9999.ebuild
new file mode 100644 (file)
index 0000000..10b6881
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Large Linux console font (suitable for word processing)"
+HOMEPAGE="https://github.com/talamus/solarize-12x29-psf"
+
+MY_PN="${PN}-12x29-psf"
+
+if [ ${PV} == "9999" ] ; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/talamus/${MY_PN}.git"
+else
+       EGIT_COMMIT="8a856fdb22bc633fdba490b339ea97ef16b700ac"
+       SRC_URI="https://github.com/talamus/${MY_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${MY_PN}-${EGIT_COMMIT}.tar.gz"
+       KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+       S="${WORKDIR}/${MY_PN}-${EGIT_COMMIT}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_install() {
+       insinto /usr/share/consolefonts
+       doins Solarize.12x29.psfu.gz
+       einstalldocs
+}