aboutsummaryrefslogtreecommitdiffstats
path: root/main/owncloud
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2016-06-16 10:08:01 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2016-06-16 10:08:01 +0000
commit6abfb1e5846bd0f5f6aab5a897c616d04debd638 (patch)
tree244b1d6aa29f69a7e62defc9668eee55798bf9ed /main/owncloud
parentc805752615859de6606eeb1a2230f52314c0dadc (diff)
downloadaports-6abfb1e5846bd0f5f6aab5a897c616d04debd638.tar.bz2
aports-6abfb1e5846bd0f5f6aab5a897c616d04debd638.tar.xz
main/owncloud: subpkg docs
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"