diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2016-06-23 21:52:12 +0200 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2016-06-23 21:56:28 +0200 |
commit | be2700f349e22f2ed78c74f78c6775687fea0112 (patch) | |
tree | 595331dd5875672043c36305343fd909e1c682fc /www-apps | |
parent | app-office/skrooge: version bump (diff) | |
download | gentoo-be2700f349e22f2ed78c74f78c6775687fea0112.tar.gz gentoo-be2700f349e22f2ed78c74f78c6775687fea0112.tar.bz2 gentoo-be2700f349e22f2ed78c74f78c6775687fea0112.zip |
www-apps/nextcloud: initial commit, based on owncloud ebuild
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/nextcloud/Manifest | 1 | ||||
-rw-r--r-- | www-apps/nextcloud/metadata.xml | 12 | ||||
-rw-r--r-- | www-apps/nextcloud/nextcloud-9.0.51.ebuild | 41 |
3 files changed, 54 insertions, 0 deletions
diff --git a/www-apps/nextcloud/Manifest b/www-apps/nextcloud/Manifest new file mode 100644 index 000000000000..146508b064fb --- /dev/null +++ b/www-apps/nextcloud/Manifest @@ -0,0 +1 @@ +DIST nextcloud-9.0.51.tar.bz2 24149758 SHA256 e085a20e9d85d238239e7e9f714325aee1f0fe949dcace2dbc2e7abaf3041e78 SHA512 3cb306e6122727ab54a979aa47ccb4473fd5a405b8f5aba9de59a8cb7c9676b2c332158a3b88f9bdc048414af7c168a5239289188365f011ac19c769290cd26a WHIRLPOOL b7c2a925750a181024e884a84ec5b47917fe892c6d8607863dccc50450ddcee53bb25562cc8662411aa6274d1b9b66058392069d718fc7c0bc08ee0a02afa0fb diff --git a/www-apps/nextcloud/metadata.xml b/www-apps/nextcloud/metadata.xml new file mode 100644 index 000000000000..9202e43366b9 --- /dev/null +++ b/www-apps/nextcloud/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> + </maintainer> + <maintainer type="project"> + <email>web-apps@gentoo.org</email> + <name>Gentoo Webapps</name> + </maintainer> +</pkgmetadata> diff --git a/www-apps/nextcloud/nextcloud-9.0.51.ebuild b/www-apps/nextcloud/nextcloud-9.0.51.ebuild new file mode 100644 index 000000000000..958f16100f04 --- /dev/null +++ b/www-apps/nextcloud/nextcloud-9.0.51.ebuild @@ -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 +} |