summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2020-10-07 18:45:14 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2020-10-07 22:39:42 +0200
commit3a1bea19125d37d68f67aea9e10a2283dfca2def (patch)
tree11cc63be04778f4f1a4087af04d41ffa33e96419 /www-apps/nextcloud
parentx11-libs/qwt: fix subslot (diff)
downloadgentoo-3a1bea19125d37d68f67aea9e10a2283dfca2def.tar.gz
gentoo-3a1bea19125d37d68f67aea9e10a2283dfca2def.tar.bz2
gentoo-3a1bea19125d37d68f67aea9e10a2283dfca2def.zip
www-apps/nextcloud: 20.0.0 major version bump
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'www-apps/nextcloud')
-rw-r--r--www-apps/nextcloud/Manifest1
-rw-r--r--www-apps/nextcloud/nextcloud-20.0.0.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/www-apps/nextcloud/Manifest b/www-apps/nextcloud/Manifest
index 6bfea719b170..ca87e6fd5338 100644
--- a/www-apps/nextcloud/Manifest
+++ b/www-apps/nextcloud/Manifest
@@ -6,3 +6,4 @@ DIST nextcloud-18.0.9.tar.bz2 96906179 BLAKE2B e51f6bffeae47db0693df9f650df2b255
DIST nextcloud-19.0.1.tar.bz2 90595211 BLAKE2B 72feeca3105d31ada79b16cbc345ec191e37a7e2364cffd6c37ac60c990dbe0345f4c9f1b815ccf3632d1c31b5d561b6fc4d9870ee25dee48c51ae518bbd4a72 SHA512 aa4db108bff2b452123e5513bde03fe4c2f1da58c1987d74a246a69714fedf121ca9ed6151609d87c91dd6109419b764ba02c5c3c1669c5ddd5a49118e68f0c0
DIST nextcloud-19.0.2.tar.bz2 99715473 BLAKE2B 9288da04aae8da92de39bc4712f2e458d0acf0277e3cfa6dd6f762819e0e8c790c9ce4a6eafbbd07babfdece70634ebab33fd59525bb9e5afddc3ceb2b8caa27 SHA512 0f4b2aa01acf75d95057b9197d4a66c8ef1f9174d45df4d4d0cc8ce4619ddeba07328fb00251f02ed462dbe698b415472a1fe3ff347539769ad124de1f4bd443
DIST nextcloud-19.0.3.tar.bz2 100074272 BLAKE2B 295d22dfb9f82decd90e2d052e7b80069de871fb7850233016cc7b0238444cbbc646aa53e8de45b7e4297c3ebc623996aa501ee3475767cc54782e0b0ab3e98e SHA512 be4f489903ca7f777bda541a706d4c4f16a2a3ce56abc65525f72b0464592571ccdd9f8915457450ce37f90d51c944cab5c75b100433e3db3dcc154362c4d76f
+DIST nextcloud-20.0.0.tar.bz2 121470470 BLAKE2B f22cf588e6e72dc07ab28d4e888436d637130093f4b322b32e6328677ab62babdf0c4d82ae27a020d0096c34c8477e73115eb7a915e1618f80e4030b78d3f26e SHA512 45f50a9922831f2170c5cbd94bc9e7c144d4a7a6635b044a306ddc685d5dec733c52a63737c6b15b63918ee67149de9ea9a53337eeaf2e0a9007d8f248759405
diff --git a/www-apps/nextcloud/nextcloud-20.0.0.ebuild b/www-apps/nextcloud/nextcloud-20.0.0.ebuild
new file mode 100644
index 000000000000..de1b7898efdf
--- /dev/null
+++ b/www-apps/nextcloud/nextcloud-20.0.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit webapp
+
+DESCRIPTION="Personal cloud that runs on your own server"
+HOMEPAGE="https://nextcloud.com/"
+SRC_URI="https://download.nextcloud.com/server/releases/${P}.tar.bz2"
+LICENSE="AGPL-3"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+curl +imagemagick mysql postgres +sqlite"
+REQUIRED_USE="|| ( mysql postgres sqlite )"
+
+DEPEND=""
+RDEPEND="dev-lang/php[curl?,filter,gd,hash(+),intl,json,mysql?,pdo,posix,postgres?,session,simplexml,sqlite?,truetype,xmlreader,xmlwriter,zip]
+ imagemagick? ( dev-php/pecl-imagick )
+ 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
+}