summaryrefslogtreecommitdiff
blob: 757fc9bf534b67c59f9900cd2517ab59c6c4930e (plain)
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
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DESCRIPTION="Set color temperature of the screen"
HOMEPAGE="https://www.umaxx.net/"
SRC_URI="https://www.umaxx.net/dl/${P}.tar.gz"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 ~ppc64 x86"

DEPEND="
	x11-libs/libXrandr"

RDEPEND="
	${DEPEND}"

src_prepare() {
	default
	sed \
		-e 's:_BSD_SOURCE:_DEFAULT_SOURCE:g' \
		-i Makefile || die
}

src_install() {
	dobin "${PN}"
	doman "${PN}.1"
	einstalldocs
}