Add =www-apps/nextcloud-15.0.7

This commit is contained in:
Sergey Morozov 2019-04-09 17:36:16 +03:00
parent bee61a7353
commit c4c043f87f
2 changed files with 43 additions and 0 deletions

View File

@ -1,2 +1,4 @@
DIST nextcloud-15.0.6.tar.bz2 56423807 BLAKE2B 40fcb0e001567d8bcccf826034c88ecffdf96a1680f3d8d5a3d5cffea209f36af6f30dca3d1f76af7cd75419fcba10449afc5dd41bcae4de589c5319151534ef SHA512 d43e78d70ccfd9c187e8827e356a021abbaa8f04972fae78dda96d3a501b2f01b6d7308b5d6b6ae70e9fc53ced11a2e8b76c64ff2bce72195898df5980f891cb DIST nextcloud-15.0.6.tar.bz2 56423807 BLAKE2B 40fcb0e001567d8bcccf826034c88ecffdf96a1680f3d8d5a3d5cffea209f36af6f30dca3d1f76af7cd75419fcba10449afc5dd41bcae4de589c5319151534ef SHA512 d43e78d70ccfd9c187e8827e356a021abbaa8f04972fae78dda96d3a501b2f01b6d7308b5d6b6ae70e9fc53ced11a2e8b76c64ff2bce72195898df5980f891cb
DIST nextcloud-15.0.7.tar.bz2 56417492 BLAKE2B 048dd8ef79b3dcdbd69b68e9bd43d7ade14fa6d830e5918d12fd3d22db6feba914e620c7610e5b57e9802a9e00c7297ee43559cc03f264e704f10a6cbd5f2de5 SHA512 3868f9e1574d9d094ace7e1662da5df75d3f4399d8e160158a5eb251fb3f06c700fcc5dd312bf20d18bc70f7e37533ce0b7c4acd4e2affa893b84e6fb98bfb1e
EBUILD nextcloud-15.0.6.ebuild 1017 BLAKE2B c4484d59b07f818dfff314fa4b83746685595b763bfb8f2bba98aa5ae58ac483e5951730243f78611a5dcef59cd1d5c28904720eea3ae323fb16d0d0a1618ce1 SHA512 5c21ac8e1a23fdaec145f20a9d73e334b50125bcaac7a9dc2953c4211c6a241903e921f74483bd103d847a718ddbdbcb3562428f9e43c757e8072ca9617d6ac2 EBUILD nextcloud-15.0.6.ebuild 1017 BLAKE2B c4484d59b07f818dfff314fa4b83746685595b763bfb8f2bba98aa5ae58ac483e5951730243f78611a5dcef59cd1d5c28904720eea3ae323fb16d0d0a1618ce1 SHA512 5c21ac8e1a23fdaec145f20a9d73e334b50125bcaac7a9dc2953c4211c6a241903e921f74483bd103d847a718ddbdbcb3562428f9e43c757e8072ca9617d6ac2
EBUILD nextcloud-15.0.7.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
}