rand/sys-apps/fand/fand-9999.ebuild
2020-04-14 00:28:09 +02:00

34 lines
721 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit git-r3 systemd
DESCRIPTION="A simple and easily configurable fan controller."
HOMEPAGE="https://git.decade.cz/decade/${PN}"
EGIT_REPO_URI="https://git.decade.cz/decade/${PN}.git"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="*"
RDEPEND="
dev-python/dec8
"
src_install() {
exeinto /usr/share/${PN}
doexe ${PN}.py
insinto /etc/${PN}
doins config.json.example
systemd_dounit ${PN}.service
}
pkg_postinst() {
elog "Before enabling ${PN}.service, create a configuration file:"
elog "# cp /etc/${PN}/config.json.example /etc/${PN}/config.json"
elog "and edit its contents to match your hardware."
}