summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-01-28 23:58:54 +0100
committerPatrice Clement <monsieurp@gentoo.org>2017-01-28 23:59:12 +0100
commita44f5f77f1a47b52226b871969c49e3096ab1dbd (patch)
treed4b55e4280188d9fe6dcc1bc2fb16f4136308106 /x11-misc/sct
parentapp-text/ghostscript-gpl: Remove old (diff)
downloadgentoo-a44f5f77f1a47b52226b871969c49e3096ab1dbd.tar.gz
gentoo-a44f5f77f1a47b52226b871969c49e3096ab1dbd.tar.bz2
gentoo-a44f5f77f1a47b52226b871969c49e3096ab1dbd.zip
x11-misc/sct: new package.
sct is a CLI tool for setting the colour temperature of your screen. Gentoo-Bug: https://bugs.gentoo.org/606168 Package-Manager: portage-2.3.0
Diffstat (limited to 'x11-misc/sct')
-rw-r--r--x11-misc/sct/Manifest1
-rw-r--r--x11-misc/sct/metadata.xml8
-rw-r--r--x11-misc/sct/sct-0.3.ebuild31
3 files changed, 40 insertions, 0 deletions
diff --git a/x11-misc/sct/Manifest b/x11-misc/sct/Manifest
new file mode 100644
index 000000000000..0a5d71541d2d
--- /dev/null
+++ b/x11-misc/sct/Manifest
@@ -0,0 +1 @@
+DIST sct-0.3.tar.gz 3679 SHA256 e8249e18cbc35fa106bfb90e715938b180f711d0e4f917636b340382ff2cf35c SHA512 515719e61afb7274749e28321f79adae4f7400e535e577cbada8453fe22c290aa50e5db8a5b93c7945d1759e08619ae75f3f33e9649cf31805b1c2ec82f711a1 WHIRLPOOL c77fd7e252528b12670a4fbb8a9e4c474d7fcad5d678b40fdf8c28d5308ba9be0d9d127a97f468a42433d18bfb9a99dd87422a9f75e9aec2a7287d3ade17aa48
diff --git a/x11-misc/sct/metadata.xml b/x11-misc/sct/metadata.xml
new file mode 100644
index 000000000000..58c1077b82e4
--- /dev/null
+++ b/x11-misc/sct/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>monsieurp@gentoo.org</email>
+ <name>Patrice Clement</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/sct/sct-0.3.ebuild b/x11-misc/sct/sct-0.3.ebuild
new file mode 100644
index 000000000000..2dde0bf297c3
--- /dev/null
+++ b/x11-misc/sct/sct-0.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 ~x86"
+
+DEPEND="x11-libs/libXrandr"
+RDEPEND="${DEPEND}"
+
+DOCS=( README )
+
+src_prepare() {
+ default
+ sed \
+ -e 's:_BSD_SOURCE:_DEFAULT_SOURCE:g' \
+ -i Makefile || die
+}
+
+src_install() {
+ dobin "${PN}"
+ doman "${PN}.1"
+ einstalldocs
+}