summary refs log tree commit diff
path: root/x11-wm/wmutils-contrib/wmutils-contrib-9999.ebuild
blob: 0da5218a37ea7f0fd3252a92f0f50a771e50bf1f (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-2020 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