From 5f5e66eb3dd92ccc76c3c0f1626c4d048d13535d Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 18 Feb 2021 18:25:38 +0300 Subject: x11-wm/shod: Fix CC and install docs Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Azat Bahawi --- x11-wm/shod/shod-0.3.1.ebuild | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'x11-wm/shod/shod-0.3.1.ebuild') diff --git a/x11-wm/shod/shod-0.3.1.ebuild b/x11-wm/shod/shod-0.3.1.ebuild index fd3f1ad..41f79de 100644 --- a/x11-wm/shod/shod-0.3.1.ebuild +++ b/x11-wm/shod/shod-0.3.1.ebuild @@ -4,10 +4,12 @@ EAPI=7 if [[ ${PV} == *9999 ]]; then - inherit git-r3 + SCM="git-r3" EGIT_REPO_URI="https://github.com/phillbush/shod.git" fi +inherit toolchain-funcs ${SCM} + DESCRIPTION="Hybrid (floating and tiling) window manager" HOMEPAGE="https://github.com/phillbush/shod" @@ -30,6 +32,11 @@ DEPEND=" RDEPEND="${DEPEND}" BDEPEND="" +DOCS=( + README + examples/ +) + src_prepare() { sed -e '/^CPPFLAGS/d' \ -e 's/FLAGS =/FLAGS +=/g' \ @@ -38,8 +45,15 @@ src_prepare() { default } +src_compile() { + emake \ + CC="$(tc-getCC)" +} + src_install() { emake install \ DESTDIR="${D}" \ PREFIX="${EPREFIX}/usr" + + einstalldocs } -- cgit 1.4.1