From 3984f73830c99dc433656ede805a52f450ef3a0f Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Thu, 11 Oct 2012 11:25:41 +0000 Subject: main/owncloud: upgrade to 4.5.0. Move 3rd party plugins and some apps to separate subpkgs. --- main/owncloud/APKBUILD | 38 +++++++++++++++++++++++++++++++++----- main/owncloud/owncloud.config.php | 2 +- 2 files changed, 34 insertions(+), 6 deletions(-) (limited to 'main/owncloud') diff --git a/main/owncloud/APKBUILD b/main/owncloud/APKBUILD index 9de3d71d9..4b1bc1cdd 100644 --- a/main/owncloud/APKBUILD +++ b/main/owncloud/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Leonardo Arena 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" diff --git a/main/owncloud/owncloud.config.php b/main/owncloud/owncloud.config.php index c8878450b..5611d49d4 100644 --- a/main/owncloud/owncloud.config.php +++ b/main/owncloud/owncloud.config.php @@ -1,7 +1,7 @@ '/var/lib/owncloud/data', -"version" => '4.0.4', +"version" => '4.5.0', "dbname" => 'owncloud', "dbhost" => 'localhost', "dbuser" => 'owncloud', -- cgit v1.2.3