summary refs log tree commit diff
path: root/x11-wm/wmutils
diff options
context:
space:
mode:
authorazahi <azahi@teknik.io>2019-11-03 14:54:19 +0300
committerazahi <azahi@teknik.io>2019-11-03 14:54:19 +0300
commit55f6fef75f62081b0dad637f1ed90366de61fcb1 (patch)
tree91ac24be34b4f3b2362649749b4698d7ff0bd067 /x11-wm/wmutils
parentdev-util/ccls: Refactoring (diff)
x11-wm/wmutils: Refactoring
Diffstat (limited to 'x11-wm/wmutils')
-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