diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-11-16 07:11:10 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-11-16 07:12:24 +0000 |
commit | e3d375fc4d056e7eaca1557db51072ae435c1dd0 (patch) | |
tree | 5f0000d1fbdfc9aade44f198c4c46539b034ac84 /main/owncloud/APKBUILD | |
parent | 8255f4b746731d6d7aa45995a8fc35ec209b37d4 (diff) | |
download | aports-e3d375fc4d056e7eaca1557db51072ae435c1dd0.tar.bz2 aports-e3d375fc4d056e7eaca1557db51072ae435c1dd0.tar.xz |
main/owncloud: fix pgsql backend (upload error)
Diffstat (limited to 'main/owncloud/APKBUILD')
-rw-r--r-- | main/owncloud/APKBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/main/owncloud/APKBUILD b/main/owncloud/APKBUILD index 42f9a795c3..df4adf892d 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=4 +pkgrel=6 pkgdesc="Your own WebDAV-based cloud service" url="http://owncloud.org" arch="noarch" @@ -15,14 +15,16 @@ subpackages="$pkgname-pgsql $pkgname-sqlite $pkgname-mysql $pkgname-texteditor $pkgname-videoviewer" replaces="$pkgname-plugins" source="http://download.owncloud.org/releases/$pkgname-$pkgver.tar.bz2 - owncloud.config.php" + owncloud.config.php + owncloud-4.5.2-pgsql-fix.patch + " _builddir="$srcdir"/$pkgname prepare() { cd "$_builddir" - # apply patches here + patch -p1 < ../../owncloud-4.5.2-pgsql-fix.patch } build() { @@ -55,7 +57,10 @@ sqlite() { mysql() { pkgdesc="ownCloud MySQL support" - depends="owncloud php-mysql php-pdo_mysql mysql" + depends="owncloud php-mysql php-pdo_mysql php-pear-mdb2-driver-pgsql mysql" + + + mkdir -p "$subpkgdir"/usr/share/webapps/owncloud } @@ -87,4 +92,5 @@ videoviewer() { md5sums="a23cd7567a35d7c0d3b5e50566ca3853 owncloud-4.5.2.tar.bz2 -b08945b74f3b219677bdfd67f4298304 owncloud.config.php" +b08945b74f3b219677bdfd67f4298304 owncloud.config.php +b1f7214fb341634cac8bc8693993e14c owncloud-4.5.2-pgsql-fix.patch" |