summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-apps/element/Manifest1
-rw-r--r--www-apps/element/element-1.11.22.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/www-apps/element/Manifest b/www-apps/element/Manifest
index 0338a8eb2eb9..c1eff4ef278d 100644
--- a/www-apps/element/Manifest
+++ b/www-apps/element/Manifest
@@ -1,2 +1,3 @@
DIST element-v1.11.17.tar.gz 19226905 BLAKE2B f4aa25b0b3a462a6055db2cf49e1d439be55fe71846eb5612139b5b93143541dd37be35098b0a2e1aa75e3dd7989b588d1ad2258f0a33564ffb5d9b5a5e754c5 SHA512 e7ebfc873b0e20e1837357f0ba50c3bf42fdbba90a8a974cd7f986030c53d918918cc88b3519fbc2338794d42d3a88bb536e26fd814f344b5bc0ca933204e9f1
DIST element-v1.11.20.tar.gz 21051550 BLAKE2B f4ce6fe66d2ae3fac513114c57d3e95f3c99491375dade17b8e2f727a9e49c49aae72526a3da0a8f5b7f627228f9471ea7a2f02d684c49f58ca3e0fe0425a2bc SHA512 a4dd540fecaf44447a202191febdeaba8931f75ce45bdb83bbfbb00ae3b5f9c4c007b6beb86ca572e272bc9630832b3119d848afb8dc56430cfb67fd89db0567
+DIST element-v1.11.22.tar.gz 21254080 BLAKE2B 43c7894804a53b1c3ce8656dded7dccb2257d4abf630c82f5ee80b73838f4f03ad59f88e8300f2b59b5c8c79772e66e8a2e0ddd6044405aab719496c38f4c300 SHA512 4da6e2ad08fbd7e87ff6883e3af1855fd96a062fd62d8f9396e306966bb80e131b53e762d69b2b4ba65d39b2470e86bb112a637e5c423748dceced656e08fdeb
diff --git a/www-apps/element/element-1.11.22.ebuild b/www-apps/element/element-1.11.22.ebuild
new file mode 100644
index 000000000000..5607e225bffa
--- /dev/null
+++ b/www-apps/element/element-1.11.22.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2021-2023 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 ~riscv ~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
+}