Add =www-apps/nextcloud-13.0.4

This commit is contained in:
Sergey Morozov 2018-06-11 21:35:59 +03:00
parent 1d3a6b4ced
commit 4ffe97fd8f
2 changed files with 42 additions and 0 deletions

View File

@ -1,2 +1,4 @@
DIST nextcloud-13.0.3.tar.bz2 45128672 BLAKE2B d833d69e4754b6047d0d71d8c687f315e44c361d2938cdafe80a1a7c5666c66afe62c0a35bac3a264a9027227212b5f5cce076b5b3c3dd7b85697662552f43a8 SHA512 fc01ea83317f541e29fc04427f392fd89c4ce3b905afd0305e9f9803ea4ede04f02b52f2524d3beb85f645031d31be763b2310d16cc7e63476e25fe3165f9050 DIST nextcloud-13.0.3.tar.bz2 45128672 BLAKE2B d833d69e4754b6047d0d71d8c687f315e44c361d2938cdafe80a1a7c5666c66afe62c0a35bac3a264a9027227212b5f5cce076b5b3c3dd7b85697662552f43a8 SHA512 fc01ea83317f541e29fc04427f392fd89c4ce3b905afd0305e9f9803ea4ede04f02b52f2524d3beb85f645031d31be763b2310d16cc7e63476e25fe3165f9050
DIST nextcloud-13.0.4.tar.bz2 45150220 BLAKE2B e37c7612ecd9328593c2ed60a976acabd86574e909d5b6ffb3c21f38b511b099eee4549fa98c109f3a0fe5635e6ee2a166471530d4114862ba34c61d93c8eab0 SHA512 13ab8c722c3aab8deb98ec9812cf8e8f77769fe51efafa5a673b71158f66655d27340661966fa28cb307e64e034a7bdc0b9f240491b79f23014ac87f004547ba
EBUILD nextcloud-13.0.3.ebuild 954 BLAKE2B b4a52fde03a19859bdba2400ef05a0d586be3a43abfc0079837d08fd0f246b6879ecd1afd7e1d127b212b1b5581f63441a74f2b028c2614225139cfd826c8330 SHA512 34bfd8c7c7071710468e9c59e9f8577359cdbd6a7abfb850f9d3756fd3b787335354a0b087131a314dc7eb8a9a457869fa275aa33a842a2da17313341df05189 EBUILD nextcloud-13.0.3.ebuild 954 BLAKE2B b4a52fde03a19859bdba2400ef05a0d586be3a43abfc0079837d08fd0f246b6879ecd1afd7e1d127b212b1b5581f63441a74f2b028c2614225139cfd826c8330 SHA512 34bfd8c7c7071710468e9c59e9f8577359cdbd6a7abfb850f9d3756fd3b787335354a0b087131a314dc7eb8a9a457869fa275aa33a842a2da17313341df05189
EBUILD nextcloud-13.0.4.ebuild 954 BLAKE2B b4a52fde03a19859bdba2400ef05a0d586be3a43abfc0079837d08fd0f246b6879ecd1afd7e1d127b212b1b5581f63441a74f2b028c2614225139cfd826c8330 SHA512 34bfd8c7c7071710468e9c59e9f8577359cdbd6a7abfb850f9d3756fd3b787335354a0b087131a314dc7eb8a9a457869fa275aa33a842a2da17313341df05189

View File

@ -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[curl?,filter,gd,hash,json,mysql?,pdo,posix,postgres?,session,simplexml,sqlite?,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
}