aboutsummaryrefslogtreecommitdiffstats
path: root/main/owncloud/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/owncloud/APKBUILD')
-rw-r--r--main/owncloud/APKBUILD38
1 files changed, 33 insertions, 5 deletions
diff --git a/main/owncloud/APKBUILD b/main/owncloud/APKBUILD
index 9de3d71d97..4b1bc1cddf 100644
--- a/main/owncloud/APKBUILD
+++ b/main/owncloud/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=owncloud
-pkgver=4.0.7
-pkgrel=2
+pkgver=4.5.0
+pkgrel=0
pkgdesc="Your own WebDAV-based cloud service"
url="http://owncloud.org"
arch="noarch"
@@ -10,7 +10,8 @@ depends="php php-ctype php-gd php-json php-zip"
depends_dev=
makedepends="$depends_dev"
install="$pkgname.post-install $pkgname.post-upgrade"
-subpackages="$pkgname-pgsql $pkgname-sqlite"
+subpackages="$pkgname-pgsql $pkgname-plugins $pkgname-sqlite
+ $pkgname-texteditor $pkgname-videoviewer"
source="http://download.owncloud.org/releases/$pkgname-$pkgver.tar.bz2
owncloud.config.php"
@@ -50,5 +51,32 @@ sqlite() {
mkdir -p "$subpkgdir"/usr/share/webapps/owncloud
}
-md5sums="7fdbe0113621730a6787afdc7ebb529f owncloud-4.0.7.tar.bz2
-ffca86e31918c3b73878e72148ba9134 owncloud.config.php"
+plugins() {
+ pkgdesc="ownCloud 3rdparty plugins"
+ depends="owncloud"
+ mkdir -p "$subpkgdir"/usr/share/webapps/owncloud
+ mv "$pkgdir"/usr/share/webapps/owncloud/3rdparty \
+ "$subpkgdir"/usr/share/webapps/owncloud
+}
+
+_mv_app() {
+ mkdir -p "$subpkgdir"/usr/share/webapps/owncloud/apps
+ mv "$pkgdir"/usr/share/webapps/owncloud/apps/files_$1 \
+ "$subpkgdir"/usr/share/webapps/owncloud/apps
+}
+
+texteditor() {
+ pkgdesc="ownCloud integrated text editor"
+ depends="ownCloud"
+ _mv_app texteditor
+}
+
+videoviewer() {
+ pkgdesc="ownCloud integrated video viewer"
+ depends="ownCloud"
+ _mv_app videoviewer
+}
+
+
+md5sums="115dc4ca9615816b3247792409f45ec8 owncloud-4.5.0.tar.bz2
+a8ae737f61fb8597ccbbb34b27b96100 owncloud.config.php"