summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-apps/element/Manifest1
-rw-r--r--www-apps/element/element-1.11.2.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/www-apps/element/Manifest b/www-apps/element/Manifest
index ee57d7d0da35..a28f7eb227d8 100644
--- a/www-apps/element/Manifest
+++ b/www-apps/element/Manifest
@@ -1 +1,2 @@
DIST element-v1.11.0.tar.gz 17131153 BLAKE2B 59685357871de8778a0e84d57938476e22bd1757d7abcea718b044a2edd1bf41e22494c8e416c3c48c3277a4c3ce109d5d38c209e0a47c53f6abb584bb4b5fea SHA512 8cdfaef81e825d6849bd6371fb167d2178a091f4c5b7fa1787464dd3b979b2b4402fb327e52d9c46244fc02172878c5ad1ae954c32f0c491c11a5f9822a456d7
+DIST element-v1.11.2.tar.gz 17496640 BLAKE2B 3c7792ae0b891987b860b0b85992c1ad5148e3faef8de55f4bd01575203b959a8b82ab7a98053b2adca6d2433af6d3f94ea2dd68005c1a05eafa605e43564134 SHA512 2942ca28d882203b8996460bd2be57e188093f58ae854a73be96616a233b150e8623aced2a9687ae7878707a8750d56b2a65d4a3fc6d2339a5b74f275ee0e274
diff --git a/www-apps/element/element-1.11.2.ebuild b/www-apps/element/element-1.11.2.ebuild
new file mode 100644
index 000000000000..bdccc2ddf91f
--- /dev/null
+++ b/www-apps/element/element-1.11.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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
+}