summary refs log tree commit diff
path: root/x11-wm
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/wmutils/wmutils-1.5.ebuild8
-rw-r--r--x11-wm/wmutils/wmutils-9999.ebuild8
2 files changed, 6 insertions, 10 deletions
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
 }

Consider giving Nix/NixOS a try! <3