diff options
author | azahi <azahi@teknik.io> | 2019-11-03 14:47:37 +0300 |
---|---|---|
committer | azahi <azahi@teknik.io> | 2019-11-03 14:47:37 +0300 |
commit | 708ff7a1675981ad447c702e61ca802d2e99645a (patch) | |
tree | 341d2849499315dc39b5ee8bdfc5549b5801e86e | |
parent | x11-wm/wmutils-opt: Update current version, add a live ebuild (diff) |
x11-wm/wmutils-contrib: Add package
Diffstat (limited to '')
-rw-r--r-- | x11-wm/wmutils-contrib/metadata.xml | 8 | ||||
-rw-r--r-- | x11-wm/wmutils-contrib/wmutils-contrib-9999.ebuild | 44 |
2 files changed, 52 insertions, 0 deletions
diff --git a/x11-wm/wmutils-contrib/metadata.xml b/x11-wm/wmutils-contrib/metadata.xml new file mode 100644 index 0000000..7869e07 --- /dev/null +++ b/x11-wm/wmutils-contrib/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>azahi@teknik.io</email> + <name>azahi</name> + </maintainer> +</pkgmetadata> diff --git a/x11-wm/wmutils-contrib/wmutils-contrib-9999.ebuild b/x11-wm/wmutils-contrib/wmutils-contrib-9999.ebuild new file mode 100644 index 0000000..8389f24 --- /dev/null +++ b/x11-wm/wmutils-contrib/wmutils-contrib-9999.ebuild @@ -0,0 +1,44 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils git-r3 + +DESCRIPTION="Useful bits and pieces" +HOMEPAGE="https://github.com/wmutils/contrib" +EGIT_REPO_URI="https://github.com/wmutils/contrib" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="" + +DEPEND="x11-libs/libxcb" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_compile() { + local S="${S}/killwa" + emake -C "${S}" +} + +src_install() { + exeinto /usr/bin + doexe closest.sh + doexe deletelock.sh + doexe focus.sh + doexe focus_watcher.sh + doexe fullscreen.sh + doexe groups.sh + doexe rainbow.sh + doexe snap.sh + doexe switch_grid.sh + doexe tile.sh + doexe underneath.sh + doexe wmenu.sh + doexe workspace.sh + + local S="${S}/killwa" + emake -C "${S}" DESTDIR="${D}" install +} |