aboutsummaryrefslogtreecommitdiffstats
path: root/main/owncloud/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-11-15 06:57:20 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-11-15 06:57:25 +0000
commit4d3f6483d108f3ffda5b87ffc82422ba2181baa1 (patch)
tree8a76a2e84d156b60b18cae05fa93aaffde2d9e18 /main/owncloud/APKBUILD
parent3a59394f23f3824fc72f422d509d26a746201c28 (diff)
downloadaports-4d3f6483d108f3ffda5b87ffc82422ba2181baa1.tar.bz2
aports-4d3f6483d108f3ffda5b87ffc82422ba2181baa1.tar.xz
main/owncloud: add mysql subpkg, add pgsql as depends for subpkg
Diffstat (limited to 'main/owncloud/APKBUILD')
-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
}