# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 EGO_PN="c.darenet.org/tyil/colorize" EGIT_COMMIT="cb35816bb8f7fb1535f0af442f8bdcb326be9b4f" DESCRIPTION="Simple coloring library for output strings" HOMEPAGE="https://c.darenet.org/tyil/colorize" SRC_URI="https://${EGO_PN}/repository/archive.tar.gz?ref=v${PV} -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND=" dev-lang/go " RDEPEND="${DEPEND}" src_unpack() { unpack ${A} mv "${WORKDIR}/${PN}-v${PV}-${EGIT_COMMIT}" "${WORKDIR}/${P}" } src_compile() { :; } src_install() { LIBDIR="${D}/usr/lib/go/src/${EGO_PN}" mkdir -p "${LIBDIR}" cp "${WORKDIR}/${P}"/* "${LIBDIR}" || die "Failed installing library" }