aboutsummaryrefslogtreecommitdiff
blob: 60054d3eebf90308dcc82cc2fd152d81c6194fbf (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
# Copyright 2022 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}"
BDEPEND="virtual/rust"

src_unpack(){
	git-r3_src_unpack
	cargo_live_src_unpack
}

src_install(){
	default
	elog "Enable the service: 'systemctl enable --now com.system76.PowerDaemon.service'"
}