summary refs log tree commit diff
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2020-10-10 12:46:48 +0300
committerAzat Bahawi <azahi@teknik.io>2020-10-10 12:46:53 +0300
commit66e837f203069fcff77341a97d3526f8938ddd6a (patch)
tree44162c772e3f55c8dfb7cf8f9943678d6e3c593a
parentapp-misc/bdfresize: Minor changes (diff)
dev-libs/libwm: Minor build update
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Azat Bahawi <azahi@teknik.io>
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