Add www-apps/nextcloud-14.0.3
This commit is contained in:
parent
bb697e0f88
commit
f07b1acaaa
|
@ -0,0 +1,2 @@
|
|||
DIST nextcloud-14.0.3.tar.bz2 49713609 BLAKE2B 0b87b899a273fc5a31b3e3e0451f2214e4377bec8671e9ca7022054d294820de4964053be950cf951b8c0d7a10f4958648164b3a76681ee2fc7aad7a902a1be7 SHA512 09f224d5e55496dcad4d743a0b62af407b4e1fece009fea19d87ac32672cec83bde135e25607236971af0ba32804cc5ebff9295472c276eb2898e21400c6e2c5
|
||||
EBUILD nextcloud-14.0.3.ebuild 960 BLAKE2B 2cb97022fdd35b923c7da44caeb91589690e2af957d7d0dd0b39bda3a3449500bf2de19d9bace295895443acda66968e05a629afe4c8e72faba094f242736112 SHA512 2d02b65261d1dacd1736182f0731e83aabd16031189b8e372d27634361deccea91651a4e2bbd6edaf66c4a3ea80a34b32ed0909b252d115171380e63371b14d4
|
|
@ -0,0 +1,40 @@
|
|||
# Copyright 1999-2018 Gentoo Authors
|
||||
# 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[curl?,filter,gd,hash,json,mysql?,pdo,posix,postgres?,session,simplexml,sqlite?,truetype,xmlreader,xmlwriter,zip]
|
||||
virtual/httpd-php"
|
||||
|
||||
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