From 55f6fef75f62081b0dad637f1ed90366de61fcb1 Mon Sep 17 00:00:00 2001 From: azahi Date: Sun, 3 Nov 2019 14:54:19 +0300 Subject: x11-wm/wmutils: Refactoring --- x11-wm/wmutils/wmutils-1.5.ebuild | 8 +++----- x11-wm/wmutils/wmutils-9999.ebuild | 8 +++----- 2 files changed, 6 insertions(+), 10 deletions(-) (limited to 'x11-wm/wmutils') diff --git a/x11-wm/wmutils/wmutils-1.5.ebuild b/x11-wm/wmutils/wmutils-1.5.ebuild index c5eea5f..3a57278 100644 --- a/x11-wm/wmutils/wmutils-1.5.ebuild +++ b/x11-wm/wmutils/wmutils-1.5.ebuild @@ -8,7 +8,7 @@ if [[ ${PV} == *9999 ]]; then EGIT_REPO_URI="https://github.com/wmutils/core" fi -inherit ${SCM} +inherit eutils ${SCM} DESCRIPTION="Set of window manipulation tools" HOMEPAGE="https://github.com/wmutils/core" @@ -33,8 +33,6 @@ if [[ ${PV} != *9999 ]]; then S="${WORKDIR}/core-${PV}" fi -src_prepare() { - default - - sed -e 's/\/man/\/share\/man/' -i config.mk || die +src_install() { + emake DESTDIR="${D}" MANPREFIX="/usr/share/man" install } diff --git a/x11-wm/wmutils/wmutils-9999.ebuild b/x11-wm/wmutils/wmutils-9999.ebuild index c5eea5f..3a57278 100644 --- a/x11-wm/wmutils/wmutils-9999.ebuild +++ b/x11-wm/wmutils/wmutils-9999.ebuild @@ -8,7 +8,7 @@ if [[ ${PV} == *9999 ]]; then EGIT_REPO_URI="https://github.com/wmutils/core" fi -inherit ${SCM} +inherit eutils ${SCM} DESCRIPTION="Set of window manipulation tools" HOMEPAGE="https://github.com/wmutils/core" @@ -33,8 +33,6 @@ if [[ ${PV} != *9999 ]]; then S="${WORKDIR}/core-${PV}" fi -src_prepare() { - default - - sed -e 's/\/man/\/share\/man/' -i config.mk || die +src_install() { + emake DESTDIR="${D}" MANPREFIX="/usr/share/man" install } -- cgit 1.4.1