Add =www-apps/nextcloud-15.0.6

This commit is contained in:
Sergey Morozov 2019-04-06 01:17:37 +03:00
parent 1d3797ce5e
commit bee61a7353
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST nextcloud-15.0.6.tar.bz2 56423807 BLAKE2B 40fcb0e001567d8bcccf826034c88ecffdf96a1680f3d8d5a3d5cffea209f36af6f30dca3d1f76af7cd75419fcba10449afc5dd41bcae4de589c5319151534ef SHA512 d43e78d70ccfd9c187e8827e356a021abbaa8f04972fae78dda96d3a501b2f01b6d7308b5d6b6ae70e9fc53ced11a2e8b76c64ff2bce72195898df5980f891cb
EBUILD nextcloud-15.0.6.ebuild 1017 BLAKE2B c4484d59b07f818dfff314fa4b83746685595b763bfb8f2bba98aa5ae58ac483e5951730243f78611a5dcef59cd1d5c28904720eea3ae323fb16d0d0a1618ce1 SHA512 5c21ac8e1a23fdaec145f20a9d73e334b50125bcaac7a9dc2953c4211c6a241903e921f74483bd103d847a718ddbdbcb3562428f9e43c757e8072ca9617d6ac2

View File

@ -0,0 +1,41 @@
# Copyright 1999-2019 Gentoo Authors
# 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 +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
}