summary refs log tree commit diff
path: root/x11-wm/wmutils-opt/wmutils-opt-1.0.ebuild
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2020-08-17 19:47:11 +0300
committerAzat Bahawi <azahi@teknik.io>2020-08-17 19:47:11 +0300
commit434f36ccde77d6e2ccfe3c3644558157bcc47996 (patch)
tree50b99818bb26e222be88b03379f5d9a805459349 /x11-wm/wmutils-opt/wmutils-opt-1.0.ebuild
parentx11-wm/wmutils-contrib: Modify USE, build (diff)
x11-wm/wmutils-opt: Update deps, strip
Update dependencies
Strip optimization flags
Install documentation
Diffstat (limited to '')
-rw-r--r--x11-wm/wmutils-opt/wmutils-opt-1.0.ebuild16
1 files changed, 13 insertions, 3 deletions
diff --git a/x11-wm/wmutils-opt/wmutils-opt-1.0.ebuild b/x11-wm/wmutils-opt/wmutils-opt-1.0.ebuild
index 992327f..e42c9e9 100644
--- a/x11-wm/wmutils-opt/wmutils-opt-1.0.ebuild
+++ b/x11-wm/wmutils-opt/wmutils-opt-1.0.ebuild
@@ -5,10 +5,10 @@ EAPI=7
 
 if [[ ${PV} == *9999 ]]; then
 	inherit git-r3
-	EGIT_REPO_URI="https://github.com/wmutils/opt"
+	EGIT_REPO_URI="https://github.com/wmutils/opt.git"
 fi
 
-DESCRIPTION="Set of window manipulation tools"
+DESCRIPTION="Optional addons to wmutils"
 HOMEPAGE="https://github.com/wmutils/opt"
 
 if [[ ${PV} == *9999 ]]; then
@@ -23,10 +23,20 @@ LICENSE="ISC"
 SLOT="0"
 IUSE=""
 
-DEPEND="x11-libs/libxcb"
+DEPEND="
+	x11-libs/libxcb
+	x11-libs/xcb-util
+"
 RDEPEND="${DEPEND}"
 BDEPEND=""
 
 if [[ ${PV} != *9999 ]]; then
 	S="${WORKDIR}/opt-${PV}"
 fi
+
+DOCS=( README.md )
+
+src_prepare() {
+	default
+	sed -e 's/-Os//g' -i config.mk || die
+}

Consider giving Nix/NixOS a try! <3