aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Healy <lmiphay@gmail.com>2021-09-27 21:42:58 +0100
committerPaul Healy <lmiphay@gmail.com>2021-09-27 21:42:58 +0100
commit2ad7fdf9ae42f032f5c1d7dfce5d865a1a4837a5 (patch)
treeea9ff715debb4f2da9850aecf30f0254f046fc15 /app-misc
parentrevbump og-docker to 1.7.19 (diff)
downloadlmiphay-2ad7fdf9ae42f032f5c1d7dfce5d865a1a4837a5.tar.gz
lmiphay-2ad7fdf9ae42f032f5c1d7dfce5d865a1a4837a5.tar.bz2
lmiphay-2ad7fdf9ae42f032f5c1d7dfce5d865a1a4837a5.zip
add ebuild for ha-docker
Signed-off-by: Paul Healy <lmiphay@gmail.com>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/homeassistant-docker/Manifest2
-rw-r--r--app-misc/homeassistant-docker/homeassistant-docker-2021.9.7.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/app-misc/homeassistant-docker/Manifest b/app-misc/homeassistant-docker/Manifest
new file mode 100644
index 0000000..3eee4c2
--- /dev/null
+++ b/app-misc/homeassistant-docker/Manifest
@@ -0,0 +1,2 @@
+DIST 2021.9.7.tar.gz 8712 BLAKE2B 0e75640ce6fdc5afb35b478778471f3517176e3ce2d5f0b7ad28bf545889e0257b38a9bdf83a1f2a4989abdf8507399a0f3420c40705491128cca01ca329f17d SHA512 c6099f2d48bb26bcf7d3d7765778568f8bffadca7347c53f858b31111d3f01824bb7570fc8f3698869f549b8c5f2fe3b815d4254f75b9b8d5ad3230df1ff7522
+EBUILD homeassistant-docker-2021.9.7.ebuild 767 BLAKE2B 33cf759285214b7929ae09399e4d3a02f3399554bd2204cf09dabf248ea4665c4221bbd03d06f003dcd3e8be4612fd7e7e714b15f4b70cd92949b7df145d2191 SHA512 060271fff77dc6a2875ba3ec88b2946de8a58c5204420bbe99d8d0613f16f87cdcd94545aa69f48b074c198f3d1b597e89d06e52a5383742b8344f88acb408cc
diff --git a/app-misc/homeassistant-docker/homeassistant-docker-2021.9.7.ebuild b/app-misc/homeassistant-docker/homeassistant-docker-2021.9.7.ebuild
new file mode 100644
index 0000000..3fd2a9d
--- /dev/null
+++ b/app-misc/homeassistant-docker/homeassistant-docker-2021.9.7.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"
+}