commit:     f36b065e43328f629da5ed2a0f6033dda158933d
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Mon May 22 12:47:49 2017 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Mon May 22 12:48:28 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f36b065e

www-apps/nextcloud: 12.0.0 bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 www-apps/nextcloud/Manifest                |  1 +
 www-apps/nextcloud/nextcloud-12.0.0.ebuild | 40 ++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/www-apps/nextcloud/Manifest b/www-apps/nextcloud/Manifest
index 3edbe8e4774..966c4728617 100644
--- a/www-apps/nextcloud/Manifest
+++ b/www-apps/nextcloud/Manifest
@@ -1 +1,2 @@
 DIST nextcloud-11.0.3.tar.bz2 39873178 SHA256 
28d5ee39f31c6be20f037ad2eb300272ad9bb72a7d428eb0152c7a3fde87d545 SHA512 
221736589fccdd27cbd7b25f48152e877147a19eee54afecdb83cf4dd01ddbbd6a4dfbb613278808504ed0733c6a43127ca7e3603ba3892ba13767945c983738
 WHIRLPOOL 
45fd2dd315d4e64fbb20e2fae9666e1e9833ec8e9ec2b9326b48602b3a520393756f2f8f61f942cd4fd24cdcc24f65bec993d2ef1235678cd82ce7321700cc18
+DIST nextcloud-12.0.0.tar.bz2 41743343 SHA256 
1b9d9cf05e657cd564a552b418fbf42d669ca51e0fd1f1f118fe44cbf93a243f SHA512 
1c1e59d3733d4c1073c19f54c8eda48f71a7f9e8db74db7ab761fcd950445f7541bce5d9ac800238ab7099ff760cb51bd59b7426020128873fa166870c58f125
 WHIRLPOOL 
c0064b7453c30cc7f34fb0e57223f132d08d0ac4ea05089f8a4b582e43a6b312cd1d590eedbe1fef20eb204e00fc4492670e4f68c65afe453ebad0027d717949

diff --git a/www-apps/nextcloud/nextcloud-12.0.0.ebuild 
b/www-apps/nextcloud/nextcloud-12.0.0.ebuild
new file mode 100644
index 00000000000..d70e7708a17
--- /dev/null
+++ b/www-apps/nextcloud/nextcloud-12.0.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 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
+}

Reply via email to