aboutsummaryrefslogtreecommitdiffstats
path: root/main/owncloud
diff options
context:
space:
mode:
Diffstat (limited to 'main/owncloud')
-rw-r--r--main/owncloud/APKBUILD20
1 files changed, 15 insertions, 5 deletions
diff --git a/main/owncloud/APKBUILD b/main/owncloud/APKBUILD
index 429c507e65..9a73bd8e05 100644
--- a/main/owncloud/APKBUILD
+++ b/main/owncloud/APKBUILD
@@ -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"