diff options
Diffstat (limited to 'x11-wm/shod/shod-9999.ebuild')
-rw-r--r-- | x11-wm/shod/shod-9999.ebuild | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/x11-wm/shod/shod-9999.ebuild b/x11-wm/shod/shod-9999.ebuild index fd3f1ad..41f79de 100644 --- a/x11-wm/shod/shod-9999.ebuild +++ b/x11-wm/shod/shod-9999.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 } |