aboutsummaryrefslogtreecommitdiffstats
path: root/testing/owncloud/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/owncloud/APKBUILD')
-rw-r--r--testing/owncloud/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/testing/owncloud/APKBUILD b/testing/owncloud/APKBUILD
index 4aa99322af..fadcbfce39 100644
--- a/testing/owncloud/APKBUILD
+++ b/testing/owncloud/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=owncloud
pkgver=4.0.4
-pkgrel=0
+pkgrel=1
pkgdesc="Your own WebDAV-based cloud service"
url="http://owncloud.org"
arch="noarch"
@@ -11,7 +11,8 @@ depends_dev=
makedepends="$depends_dev"
install="$pkgname.post-install"
subpackages="$pkgname-pgsql $pkgname-sqlite"
-source="http://download.owncloud.org/releases/$pkgname-$pkgver.tar.bz2"
+source="http://download.owncloud.org/releases/$pkgname-$pkgver.tar.bz2
+ owncloud.config.php"
_builddir="$srcdir"/$pkgname
@@ -33,7 +34,8 @@ package() {
rm -rf config data
mv * "$pkgdir"/usr/share/webapps/owncloud
ln -s /etc/owncloud/config "$pkgdir"/usr/share/webapps/owncloud/config || exit 1
- ln -s /var/lib/owncloud/data "$pkgdir"/usr/share/webapps/owncloud/data || exit 1
+ #ln -s /var/lib/owncloud/data "$pkgdir"/usr/share/webapps/owncloud/data || exit 1
+ install -m640 ../owncloud.config.php "$pkgdir"/etc/owncloud/config/config.php
}
pgsql() {
@@ -48,4 +50,5 @@ sqlite() {
mkdir -p "$subpkgdir"/usr/share/webapps/owncloud
}
-md5sums="5d7896053591916a6a5e00e9669cc284 owncloud-4.0.4.tar.bz2"
+md5sums="5d7896053591916a6a5e00e9669cc284 owncloud-4.0.4.tar.bz2
+ffca86e31918c3b73878e72148ba9134 owncloud.config.php"