diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-10-11 11:25:41 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-10-11 11:26:57 +0000 |
commit | 3984f73830c99dc433656ede805a52f450ef3a0f (patch) | |
tree | 0ffebb4395c792ee0ab8caf38979c2023b6ad8a8 /main/owncloud | |
parent | b5a3637551b3036b432b8f64ea54ecb79192b9e2 (diff) | |
download | aports-3984f73830c99dc433656ede805a52f450ef3a0f.tar.bz2 aports-3984f73830c99dc433656ede805a52f450ef3a0f.tar.xz |
main/owncloud: upgrade to 4.5.0. Move 3rd party plugins and some apps to separate subpkgs.
Diffstat (limited to 'main/owncloud')
-rw-r--r-- | main/owncloud/APKBUILD | 38 | ||||
-rw-r--r-- | main/owncloud/owncloud.config.php | 2 |
2 files changed, 34 insertions, 6 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" diff --git a/main/owncloud/owncloud.config.php b/main/owncloud/owncloud.config.php index c8878450ba..5611d49d44 100644 --- a/main/owncloud/owncloud.config.php +++ b/main/owncloud/owncloud.config.php @@ -1,7 +1,7 @@ <?php $CONFIG = array( "datadirectory" => '/var/lib/owncloud/data', -"version" => '4.0.4', +"version" => '4.5.0', "dbname" => 'owncloud', "dbhost" => 'localhost', "dbuser" => 'owncloud', |