diff options
author | Azat Bahawi <azahi@teknik.io> | 2021-02-18 18:25:38 +0300 |
---|---|---|
committer | Azat Bahawi <azahi@teknik.io> | 2021-02-18 18:25:41 +0300 |
commit | 5f5e66eb3dd92ccc76c3c0f1626c4d048d13535d (patch) | |
tree | 41c8bc43ac1587492d59f071391290bbb5a13f55 | |
parent | x11-wm/shod: Bump version (diff) |
x11-wm/shod: Fix CC and install docs
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Azat Bahawi <azahi@teknik.io>
Diffstat (limited to '')
-rw-r--r-- | x11-wm/shod/shod-0.3.1.ebuild | 16 | ||||
-rw-r--r-- | x11-wm/shod/shod-9999.ebuild | 16 |
2 files changed, 30 insertions, 2 deletions
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 } 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 } |