Add =www-apps/nextcloud-12.0.5
This commit is contained in:
parent
302a9b9045
commit
df54f90668
|
@ -0,0 +1,2 @@
|
||||||
|
DIST nextcloud-12.0.5.tar.bz2 43704324 SHA256 c8be29ace6821079e881818266fe49d28812b5aa0c7d2e76511173d48828ca43 SHA512 6a07384fef1ca57e82c5867c7f4898b9dcc94bd99d25ea49cf44606833e0045f9503f2c9256b71845603bd7b911fdabea39e1bebe8cddb69d9d752c69101bc27 WHIRLPOOL 9f0413a5c18032b0c20d78e7e7fe1eb03c01fdfd8f3b34d71fb27a1f2ef2c1f7675074250e80409f1aad66c1925062a9198868e78400def49ed3ef539bdcfc54
|
||||||
|
EBUILD nextcloud-12.0.5.ebuild 964 SHA256 4a2ef4d69b641047f157a2b71adad4ea1cd483f29e05621c14f1f7b256622ef9 SHA512 17cb30789bda5fd1f346ec6005ffd741efbd0cffdcbfbbfee79cfed3682c035d3787d7a3e2b7fa92877e1d09da23d3b72dba9a5ba1ff24d386685fb0f146f930 WHIRLPOOL 0d90d2fd2226b0d7c14f53ed6ed55b10b6658971d7751eb6d20f24ccd4452a7487b4f9e44af893da8a775e6392ab0a0794de7eea8c7fb26a439e0f0deacc1d3c
|
|
@ -0,0 +1,40 @@
|
||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit eutils webapp
|
||||||
|
|
||||||
|
DESCRIPTION="Personal cloud that runs on your own server"
|
||||||
|
HOMEPAGE="http://nextcloud.com"
|
||||||
|
SRC_URI="http://download.nextcloud.com/server/releases/${P}.tar.bz2"
|
||||||
|
LICENSE="AGPL-3"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~arm ~x86"
|
||||||
|
IUSE="+curl mysql postgres +sqlite"
|
||||||
|
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND="<dev-lang/php-7.2[curl?,filter,gd,hash,json,mysql?,pdo,posix,postgres?,session,simplexml,sqlite?,xmlreader,xmlwriter,zip]
|
||||||
|
<virtual/httpd-php-7.2"
|
||||||
|
|
||||||
|
S=${WORKDIR}/${PN}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
webapp_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
webapp_src_preinst
|
||||||
|
|
||||||
|
insinto "${MY_HTDOCSDIR}"
|
||||||
|
doins -r .
|
||||||
|
dodir "${MY_HTDOCSDIR}"/data
|
||||||
|
|
||||||
|
webapp_serverowned -R "${MY_HTDOCSDIR}"/apps
|
||||||
|
webapp_serverowned -R "${MY_HTDOCSDIR}"/data
|
||||||
|
webapp_serverowned -R "${MY_HTDOCSDIR}"/config
|
||||||
|
webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
|
||||||
|
|
||||||
|
webapp_src_install
|
||||||
|
}
|
Loading…
Reference in New Issue