summary refs log tree commit diff
path: root/x11-wm/wmutils-contrib/wmutils-contrib-9999.ebuild
blob: 8389f24bb99c6abfb59b97a29bb0623cc1cb43fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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
}

Consider giving Nix/NixOS a try! <3