summary refs log tree commit diff
path: root/dev-libs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dev-libs/libwm/libwm-1.0.ebuild9
-rw-r--r--dev-libs/libwm/libwm-9999.ebuild9
-rw-r--r--dev-libs/libwm/metadata.xml3
3 files changed, 13 insertions, 8 deletions
diff --git a/dev-libs/libwm/libwm-1.0.ebuild b/dev-libs/libwm/libwm-1.0.ebuild
index fe85b0d..cffaf1f 100644
--- a/dev-libs/libwm/libwm-1.0.ebuild
+++ b/dev-libs/libwm/libwm-1.0.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
 }
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
 }
diff --git a/dev-libs/libwm/metadata.xml b/dev-libs/libwm/metadata.xml
index 843575d..087622b 100644
--- a/dev-libs/libwm/metadata.xml
+++ b/dev-libs/libwm/metadata.xml
@@ -5,4 +5,7 @@
         <email>azahi@teknik.io</email>
         <name>azahi</name>
     </maintainer>
+	<upstream>
+		<remote-id type="github">wmutils/libwm</remote-id>
+	</upstream>
 </pkgmetadata>

Consider giving Nix/NixOS a try! <3