Commit c8057526 authored by Leonardo Arena's avatar Leonardo Arena

testing/nextcloud: subpkg docs

parent 7c4d0212
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=nextcloud
pkgver="9.0.50"
pkgrel=0
pkgrel=1
pkgdesc="A safe home for all your data"
url="http://nextcloud.com"
arch="noarch"
......@@ -12,7 +12,7 @@ depends="$_php ${_php}-ctype ${_php}-curl ${_php}-dom ${_php}-gd ${_php}-iconv $
depends_dev=
makedepends="$depends_dev"
install=
subpackages="$pkgname-pgsql $pkgname-sqlite $pkgname-mysql $pkgname-encryption
subpackages="$pkgname-doc $pkgname-pgsql $pkgname-sqlite $pkgname-mysql $pkgname-encryption
$pkgname-external $pkgname-gallery $pkgname-ldap
$pkgname-texteditor $pkgname-pdfviewer $pkgname-videoplayer"
replaces="$pkgname-plugins"
......@@ -68,6 +68,15 @@ package() {
done
}
doc() {
arch="noarch"
pkgdesc="Nextcloud documentation"
depends="nextcloud"
mkdir -p "$subpkgdir"/usr/share/doc/nextcloud/core
mv "$pkgdir"/usr/share/webapps/nextcloud/core/doc \
"$subpkgdir"/usr/share/doc/nextcloud/core
}
pgsql() {
arch="noarch"
pkgdesc="Nextcloud PostgreSQL support"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment