Add www-apps/nextcloud-10.0.2

This commit is contained in:
Sergey Morozov 2016-12-11 12:35:31 +03:00
parent f4a5f4f3ff
commit 05d7669aa3
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST nextcloud-10.0.2.tar.bz2 34843051 SHA256 a687a818778413484f06bb23b4e98589c73729fe2aa9feb1bf5584e3bd37103c SHA512 63020daa87a0ed7fc0e9e10e6a3b30c37b4c40ac5f2743910c8329ef51bce31ee8925a4c3e1a834672815791e61104d7c3680b626a397e5cff7c4b0c6b4adf33 WHIRLPOOL 2874a2e630c8088f0dc2676d5c6fc87604b9fd4ed1b4dec23d447981d9137c29cdb7fb5b08727af321b7809a9d3e8980734053b2f5d2256fb69884657d094921
EBUILD nextcloud-10.0.2.ebuild 961 SHA256 7da276b581c6bddf007a9f7575d48255249b9731720d723bd4b18063f5d77cf7 SHA512 99de8bcd1d53948c0e60ec9453f438b6c29c1956ea2d67a5e68a4c22d16609139b024a330b2b7a0ad4a57cb98d708d04842c0c146244ca80c2470ef51034d930 WHIRLPOOL 722cddff313d01ae827cffd7a536660f4211a093304b30c9e0f0c5750ef5c1012851c0a551b05109c42fdeceb77769569f782e498279eebf62f30b51dffd3090

View File

@ -0,0 +1,41 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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
}