~dax/gentoo-overlay

ref: ebd2fcd18cd776252ee1459eae985054438546aa gentoo-overlay/x11-misc/slstatus/slstatus-9999.ebuild -rw-r--r-- 571 bytes
ebd2fcd1dax add metadata 2 years ago
                                                                                
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
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit savedconfig git-r3

DESCRIPTION="A suckless status monitor that uses WM_NAME or stdin"
HOMEPAGE="https://tools.suckless.org/slstatus/"
EGIT_REPO_URI="https://git.suckless.org/slstatus"

LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64"
IUSE="savedconfig"

DEPEND="
x11-libs/libX11
"

RDEPEND="${DEPEND}"

src_configure() {
	default

	restore_config config.h
}

src_install() {
	emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install

	save_config config.h
}