From 981a1ce8f50d67532c1aaac3b8d8927e5394a290 Mon Sep 17 00:00:00 2001 From: Bruno Pinto Date: Wed, 18 Apr 2018 12:48:15 +0100 Subject: [PATCH] [sys-power/brightnessctl] New ebuild (#29) --- sys-power/brightnessctl/Manifest | 1 + .../brightnessctl/brightnessctl-0.3.1.ebuild | 18 ++++++++++++++++++ sys-power/brightnessctl/metadata.xml | 10 ++++++++++ 3 files changed, 29 insertions(+) create mode 100644 sys-power/brightnessctl/Manifest create mode 100644 sys-power/brightnessctl/brightnessctl-0.3.1.ebuild create mode 100644 sys-power/brightnessctl/metadata.xml diff --git a/sys-power/brightnessctl/Manifest b/sys-power/brightnessctl/Manifest new file mode 100644 index 0000000..ccc8352 --- /dev/null +++ b/sys-power/brightnessctl/Manifest @@ -0,0 +1 @@ +DIST brightnessctl-0.3.1.tar.gz 6303 BLAKE2B 849c5f5b586ec382c28e3ff150e7785bd66790249d132db186ec530365127d3b20a120dee623dbe943b3827be6186f27324a1aaa426f113220d4564bfea3e1e2 SHA512 0b99124e61fdd4b29573a0bac999a49a09843cfa1d75e87552231cbec15819d45e9a0975c6199a2d6264a43ec4d420db1510eeea9e41dc9aed535cf08b3d910d diff --git a/sys-power/brightnessctl/brightnessctl-0.3.1.ebuild b/sys-power/brightnessctl/brightnessctl-0.3.1.ebuild new file mode 100644 index 0000000..4b114e2 --- /dev/null +++ b/sys-power/brightnessctl/brightnessctl-0.3.1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A program to read and control device brightness" +HOMEPAGE="https://github.com/Hummer12007/brightnessctl" + +SRC_URI="https://github.com/Hummer12007/${PN}/archive/${PV}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+suid" + +src_install() { + emake DESTDIR="${D}" INSTALL_UDEV_RULES="$(usex suid 0 1)" install +} diff --git a/sys-power/brightnessctl/metadata.xml b/sys-power/brightnessctl/metadata.xml new file mode 100644 index 0000000..c341aca --- /dev/null +++ b/sys-power/brightnessctl/metadata.xml @@ -0,0 +1,10 @@ + + + + + + toffanin.mauro@gmail.com + Mauro Toffanin + Maintainer. Assign bugs to him + +