summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2021-07-23 22:29:34 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2021-07-23 22:29:53 +0200
commitb4c77d1b7e88067ddc766d2748fce5d79a8f1ead (patch)
tree0a6ab2839f494e1eff8ca39f6e548d5004582675 /www-apps
parentapp-i18n/dbskkd-cdb: drop old version (diff)
downloadgentoo-b4c77d1b7e88067ddc766d2748fce5d79a8f1ead.tar.gz
gentoo-b4c77d1b7e88067ddc766d2748fce5d79a8f1ead.tar.bz2
gentoo-b4c77d1b7e88067ddc766d2748fce5d79a8f1ead.zip
www-apps/element: initial import
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/element/Manifest1
-rw-r--r--www-apps/element/element-1.7.33.ebuild35
-rw-r--r--www-apps/element/metadata.xml8
3 files changed, 44 insertions, 0 deletions
diff --git a/www-apps/element/Manifest b/www-apps/element/Manifest
new file mode 100644
index 000000000000..1055413cda09
--- /dev/null
+++ b/www-apps/element/Manifest
@@ -0,0 +1 @@
+DIST element-v1.7.33.tar.gz 15425526 BLAKE2B 0cb13c5aa94a16e532f9ff4a8558b08c01afe1d5c8c4070bc9c26684571a316b2ce1265cd763ee4fe6c54b255313d489adc41e8dfc18f619ae3c2016b593087f SHA512 8b23d2e63cd69ec51cd053826d73f72be50a9662f2adcb7d8b86b0d2b32175038e77c3d00c2e37b39147565fc9fc1cb9c61be1f7a59d1f23e3c4d6316512912d
diff --git a/www-apps/element/element-1.7.33.ebuild b/www-apps/element/element-1.7.33.ebuild
new file mode 100644
index 000000000000..0d6f2e6d2cb4
--- /dev/null
+++ b/www-apps/element/element-1.7.33.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
+}
diff --git a/www-apps/element/metadata.xml b/www-apps/element/metadata.xml
new file mode 100644
index 000000000000..7d273a80ff68
--- /dev/null
+++ b/www-apps/element/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>voyageur@gentoo.org</email>
+ <name>Bernard Cafarelli</name>
+ </maintainer>
+</pkgmetadata>