www-apps/element: new package, add 1.11.36

This commit is contained in:
Alarig Le Lay 2023-07-19 12:15:11 +02:00
parent 53f680c37a
commit 99e4ad1f84
Signed by: alarig
GPG Key ID: 7AFE62C6DF8BCDEC
3 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST element-v1.11.36.tar.gz 21937527 BLAKE2B 820a4c64e438e73bc0b45559be165d1e80a3fbab43975e7db3fca7740142c968a5cdb1daad7471bc33b68220d6674691136ae463a001a9ab913e52e550019af0 SHA512 03aa1530360d479c2970e2fdee8b23d526701346b3b26f3052c72226644ae61ecb1f6df58efccea4d30db8ffa794c6c58893eb7938bde24f5fd42d319618efa5

View File

@ -0,0 +1,33 @@
# 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"
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
}

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>voyageur@gentoo.org</email>
<name>Bernard Cafarelli</name>
</maintainer>
<upstream>
<remote-id type="github">vector-im/element-web</remote-id>
</upstream>
</pkgmetadata>