summary refs log tree commit diff
path: root/dev-libs/libwm/libwm-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libwm/libwm-9999.ebuild')
-rw-r--r--dev-libs/libwm/libwm-9999.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/dev-libs/libwm/libwm-9999.ebuild b/dev-libs/libwm/libwm-9999.ebuild
index fe85b0d..cffaf1f 100644
--- a/dev-libs/libwm/libwm-9999.ebuild
+++ b/dev-libs/libwm/libwm-9999.ebuild
@@ -4,12 +4,10 @@
 EAPI=7
 
 if [[ ${PV} == *9999 ]]; then
-	SCM="git-r3"
+	inherit git-r3
 	EGIT_REPO_URI="https://github.com/wmutils/libwm"
 fi
 
-inherit eutils ${SCM}
-
 DESCRIPTION="A small library for X windows manipulation"
 HOMEPAGE="https://github.com/wmutils/libwm"
 
@@ -29,6 +27,9 @@ DEPEND="x11-libs/libxcb"
 RDEPEND="${DEPEND}"
 BDEPEND=""
 
+DOCS=( README.md )
+
 src_install() {
-	emake DESTDIR="${D}" PREFIX="/usr" install
+	emake install DESTDIR="${D}" PREFIX="/usr"
+	einstalldocs
 }

Consider giving Nix/NixOS a try! <3