mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-21 07:52:21 -04:00
guru version of this commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01ba4dc61965ef7658a24728841c04c9a1ce4871 Closes: https://bugs.gentoo.org/943170 Closes: https://bugs.gentoo.org/943223 Closes: #260 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
28 lines
558 B
Bash
28 lines
558 B
Bash
# Copyright 2022-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cargo git-r3
|
|
|
|
DESCRIPTION="System76 Power Management Tool for systemd"
|
|
HOMEPAGE="https://github.com/pop-os/system76-power"
|
|
EGIT_REPO_URI="https://github.com/pop-os/system76-power"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS=""
|
|
|
|
DEPEND="sys-apps/systemd"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_unpack(){
|
|
git-r3_src_unpack
|
|
cargo_live_src_unpack
|
|
}
|
|
|
|
src_install(){
|
|
default
|
|
elog "Enable the service: 'systemctl enable --now com.system76.PowerDaemon.service'"
|
|
}
|