summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/element')
-rw-r--r--www-apps/element/Manifest1
-rw-r--r--www-apps/element/element-1.9.0.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/www-apps/element/Manifest b/www-apps/element/Manifest
index 7339d6f048d2..a17d4ba1be4e 100644
--- a/www-apps/element/Manifest
+++ b/www-apps/element/Manifest
@@ -1 +1,2 @@
DIST element-v1.8.5.tar.gz 15979411 BLAKE2B 865f36b5b01d43c9f5b912834ed9c357b8ffb8001bb86c00a941c7093902d6ca54ab21c44bb1ed535e039e787735e3e3e3cbb5e7c210d978f666a60dbc1f2bff SHA512 90adfa42829cedd30180e235b4293a040eb008e990845211b07807b64c1e7bdc8ef0c609a3ec5150d821de528be8a4cb01565950356c134ac6fc7390255e8d66
+DIST element-v1.9.0.tar.gz 15631650 BLAKE2B aeecf81dc0f5f99df23c8a2d931dc9172b3dd6b627bc8c149d22ac0862066bc0dda02774919ff7509c9ae99e420730f9b0eabbaaf0399f9ba5927362bde7dfd6 SHA512 e0a3a8696e493ccca6abcb5dee178e934cdae62a92e92d4c1b8718eeded45cab26ba3d08353c8a4701a94d537a0da072aac3e34e268c9d8541b26111c90eef27
diff --git a/www-apps/element/element-1.9.0.ebuild b/www-apps/element/element-1.9.0.ebuild
new file mode 100644
index 000000000000..0d6f2e6d2cb4
--- /dev/null
+++ b/www-apps/element/element-1.9.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit webapp
+
+DESCRIPTION="A glossy Matrix collaboration client for the web"
+HOMEPAGE="https://element.io/"
+SRC_URI="https://github.com/vector-im/element-web/releases/download/v${PV}/${PN}-v${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+need_httpd
+
+S=${WORKDIR}/${PN}-v${PV}
+
+src_install() {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ dodir "${MY_HTDOCSDIR}"/home
+ dodir "${MY_HTDOCSDIR}"/sites
+
+ webapp_serverowned "${MY_HTDOCSDIR}"/home
+ webapp_serverowned "${MY_HTDOCSDIR}"/sites
+ #webapp_configfile "${MY_HTDOCSDIR}"/config.json
+
+ webapp_src_install
+}