diff options
Diffstat (limited to 'app-misc/homeassistant-docker/homeassistant-docker-2021.11.1.ebuild')
-rw-r--r-- | app-misc/homeassistant-docker/homeassistant-docker-2021.11.1.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app-misc/homeassistant-docker/homeassistant-docker-2021.11.1.ebuild b/app-misc/homeassistant-docker/homeassistant-docker-2021.11.1.ebuild new file mode 100644 index 0000000..3fd2a9d --- /dev/null +++ b/app-misc/homeassistant-docker/homeassistant-docker-2021.11.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit eutils systemd + +DESCRIPTION="Homeassistant in a container" +HOMEPAGE="https://github.com/lmiphay/homeassistant-docker" +SRC_URI="https://github.com/lmiphay/${PN}/archive/refs/tags/${PVR}.tar.gz" +RESTRICT="mirror" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=" + app-emulation/docker + sys-apps/coreutils + sys-apps/grep +" +DEPEND=" +" + +DOCS="README.md" + +S="${WORKDIR}/${PF}" + +src_install() { + dobin "bin/homeassistant-docker" + + newconfd "openrc/homeassistant.conf.d" "homeassistant" + newinitd "openrc/homeassistant.init.d" "homeassistant" + + systemd_dounit "etc/homeassistant.service" + + insinto "/etc" + doins "etc/homeassistant.conf" +} |