From 18649c966a96bab4580ba9867718705b5a035900 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Mon, 17 Aug 2020 19:07:36 +0300 Subject: x11-wm/wmutils: Update Modify build process Strip optimization flags from build files Install documentation --- x11-wm/wmutils/wmutils-1.5.ebuild | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'x11-wm/wmutils/wmutils-1.5.ebuild') diff --git a/x11-wm/wmutils/wmutils-1.5.ebuild b/x11-wm/wmutils/wmutils-1.5.ebuild index 356456f..5529b29 100644 --- a/x11-wm/wmutils/wmutils-1.5.ebuild +++ b/x11-wm/wmutils/wmutils-1.5.ebuild @@ -4,12 +4,10 @@ EAPI=7 if [[ ${PV} == *9999 ]]; then - SCM="git-r3" - EGIT_REPO_URI="https://github.com/wmutils/core" + inherit git-r3 + EGIT_REPO_URI="https://github.com/wmutils/core.git" fi -inherit eutils ${SCM} - DESCRIPTION="Set of window manipulation tools" HOMEPAGE="https://github.com/wmutils/core" @@ -25,14 +23,26 @@ LICENSE="ISC" SLOT="0" IUSE="" -DEPEND="x11-libs/libxcb" +DEPEND=" + x11-libs/libxcb + x11-libs/xcb-util + x11-libs/xcb-util-cursor +" RDEPEND="${DEPEND}" BDEPEND="" +DOCS=( README.md ) + if [[ ${PV} != *9999 ]]; then S="${WORKDIR}/core-${PV}" fi +src_prepare() { + sed -i 's/-Os//g' -i config.mk + default +} + src_install() { - emake DESTDIR="${D}" MANPREFIX="/usr/share/man" install + emake DESTDIR="${D}" MANPREFIX="${EPREFIX}/usr/share/man" install + einstalldocs } -- cgit 1.4.1