src_prepare-overlay/dev-scheme/guile-colorized/guile-colorized-9999.ebuild
Maciej Barć 0400ae39b5
dev-scheme/guile-colorized: add documentation
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
2020-06-16 00:33:58 +02:00

46 lines
734 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils git-r3
DESCRIPTION="Colorized REPL for GNU Guile"
HOMEPAGE="https://gitlab.com/NalaGinrut/guile-colorized/"
EGIT_REPO_URI="https://gitlab.com/NalaGinrut/${PN}.git"
RESTRICT="mirror"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="
>=dev-scheme/guile-2.0.9
"
DEPEND="
${RDEPEND}
"
DOCS=(
README.md
)
src_prepare() {
default
find "${S}" -name "*.scm" -exec touch {} + || die
}
src_compile() {
:
}
src_install() {
einstalldocs
local loadpath=$(guile -c "(display (string-append (car %load-path) \"/ice-9\"))")
mkdir -p "${D}${loadpath}"
emake TARGET="${D}${loadpath}" install
}