summary refs log tree commit diff
diff options
context:
space:
mode:
authorazahi <azahi@teknik.io>2019-11-03 14:50:02 +0300
committerazahi <azahi@teknik.io>2019-11-03 14:50:02 +0300
commite681b63d36cce8f4d94041a794c12c8d874420f5 (patch)
tree5ac9dccd35d644266b24caea838db57a521d9359
parentAdd editorconfig (diff)
dev-libs/libwm: Refactoring
Diffstat (limited to '')
-rw-r--r--dev-libs/libwm/libwm-1.0.ebuild8
-rw-r--r--dev-libs/libwm/libwm-9999.ebuild8
2 files changed, 6 insertions, 10 deletions
diff --git a/dev-libs/libwm/libwm-1.0.ebuild b/dev-libs/libwm/libwm-1.0.ebuild
index b42cb09..999f1c4 100644
--- a/dev-libs/libwm/libwm-1.0.ebuild
+++ b/dev-libs/libwm/libwm-1.0.ebuild
@@ -8,7 +8,7 @@ if [[ ${PV} == *9999 ]]; then
 	EGIT_REPO_URI="https://github.com/wmutils/libwm"
 fi
 
-inherit ${SCM}
+inherit eutils ${SCM}
 
 DESCRIPTION="A small library for X windows manipulation"
 HOMEPAGE="https://github.com/wmutils/libwm"
@@ -29,8 +29,6 @@ DEPEND="x11-libs/libxcb"
 RDEPEND="${DEPEND}"
 BDEPEND=""
 
-src_prepare() {
-	default
-
-	sed -e 's/\/local//' -i config.mk || die
+src_install() {
+	emake DESTDIR="${D}" PREFIX="/usr" install
 }
diff --git a/dev-libs/libwm/libwm-9999.ebuild b/dev-libs/libwm/libwm-9999.ebuild
index b42cb09..999f1c4 100644
--- a/dev-libs/libwm/libwm-9999.ebuild
+++ b/dev-libs/libwm/libwm-9999.ebuild
@@ -8,7 +8,7 @@ if [[ ${PV} == *9999 ]]; then
 	EGIT_REPO_URI="https://github.com/wmutils/libwm"
 fi
 
-inherit ${SCM}
+inherit eutils ${SCM}
 
 DESCRIPTION="A small library for X windows manipulation"
 HOMEPAGE="https://github.com/wmutils/libwm"
@@ -29,8 +29,6 @@ DEPEND="x11-libs/libxcb"
 RDEPEND="${DEPEND}"
 BDEPEND=""
 
-src_prepare() {
-	default
-
-	sed -e 's/\/local//' -i config.mk || die
+src_install() {
+	emake DESTDIR="${D}" PREFIX="/usr" install
 }

Consider giving Nix/NixOS a try! <3