aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/owncloud/APKBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/main/owncloud/APKBUILD b/main/owncloud/APKBUILD
index 89599fcc71..e8562d062f 100644
--- a/main/owncloud/APKBUILD
+++ b/main/owncloud/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=owncloud
pkgver=4.5.2
-pkgrel=1
+pkgrel=2
pkgdesc="Your own WebDAV-based cloud service"
url="http://owncloud.org"
arch="noarch"
@@ -11,7 +11,7 @@ depends="php php-ctype php-gd php-iconv php-json php-zlib
depends_dev=
makedepends="$depends_dev"
install="$pkgname.post-install $pkgname.post-upgrade"
-subpackages="$pkgname-pgsql $pkgname-sqlite
+subpackages="$pkgname-pgsql $pkgname-sqlite $pkgname-mysql
$pkgname-texteditor $pkgname-videoviewer"
replaces="$pkgname-plugins"
source="http://download.owncloud.org/releases/$pkgname-$pkgver.tar.bz2
@@ -43,13 +43,19 @@ package() {
pgsql() {
pkgdesc="ownCloud PostgreSQL support"
- depends="owncloud php-pgsql php-pdo_pgsql"
+ depends="owncloud php-pgsql php-pdo_pgsql postgresql"
mkdir -p "$subpkgdir"/usr/share/webapps/owncloud
}
sqlite() {
pkgdesc="ownCloud SQLite support"
- depends="owncloud php-sqlite php-pdo_sqlite"
+ depends="owncloud php-sqlite php-pdo_sqlite sqlite"
+ mkdir -p "$subpkgdir"/usr/share/webapps/owncloud
+}
+
+mysql() {
+ pkgdesc="ownCloud MySQL support"
+ depends="owncloud php-mysql php-pdo_mysql mysql"
mkdir -p "$subpkgdir"/usr/share/webapps/owncloud
}