You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
733 B
36 lines
733 B
# 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
|
|
}
|