Commit 6abfb1e5 authored by Leonardo Arena's avatar Leonardo Arena

main/owncloud: subpkg docs

parent c8057526
......@@ -2,7 +2,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname="owncloud"
pkgver="9.0.2"
pkgrel=1
pkgrel=2
_contactsver="0.0.0.91"
_calendarver="1.1"
_tasksver="0.8.1"
......@@ -21,10 +21,11 @@ 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
$pkgname-calendar $pkgname-contacts $pkgname-documents $pkgname-external
$pkgname-gallery $pkgname-mozilla_sync $pkgname-music $pkgname-ldap
$pkgname-tasks $pkgname-texteditor $pkgname-pdfviewer $pkgname-videoplayer"
subpackages="$pkgname-doc $pkgname-pgsql $pkgname-sqlite $pkgname-mysql
$pkgname-encryption $pkgname-calendar $pkgname-contacts $pkgname-documents
$pkgname-external $pkgname-gallery $pkgname-mozilla_sync $pkgname-music
$pkgname-ldap $pkgname-tasks $pkgname-texteditor $pkgname-pdfviewer
$pkgname-videoplayer"
replaces="$pkgname-plugins"
source="https://download.owncloud.org/community/$pkgname-$pkgver.tar.bz2
......@@ -86,6 +87,15 @@ package() {
done
}
doc() {
arch="noarch"
pkgdesc="ownCloud documentation"
depends="owncloud"
mkdir -p "$subpkgdir"/usr/share/doc/$pkgname/core
mv "$pkgdir"/usr/share/webapps/$pkgname/core/doc \
"$subpkgdir"/usr/share/doc/$pkgname/core
}
pgsql() {
arch="noarch"
pkgdesc="ownCloud 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