diff options
Diffstat (limited to 'main/owncloud/APKBUILD')
-rw-r--r-- | main/owncloud/APKBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/main/owncloud/APKBUILD b/main/owncloud/APKBUILD index 2ca8b5e21..eb7bfbb83 100644 --- a/main/owncloud/APKBUILD +++ b/main/owncloud/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname="owncloud" pkgver="5.0.10" -pkgrel=0 +pkgrel=1 pkgdesc="Your own WebDAV-based cloud service" url="http://owncloud.org" arch="noarch" @@ -35,9 +35,10 @@ package() { mkdir -p "$pkgdir"/var/lib/owncloud/data mkdir -p "$pkgdir"/usr/share/webapps/owncloud rm -rf config data - mv * "$pkgdir"/usr/share/webapps/owncloud + mv * "$pkgdir"/usr/share/webapps/owncloud || exit ln -s /etc/owncloud "$pkgdir"/usr/share/webapps/owncloud/config || exit 1 - #ln -s /var/lib/owncloud/data "$pkgdir"/usr/share/webapps/owncloud/data || exit 1 + mv "$pkgdir"/usr/share/webapps/owncloud/apps "$pkgdir"/var/lib/owncloud || exit 1 + ln -s /var/lib/owncloud/apps "$pkgdir"/usr/share/webapps/owncloud/apps || exit 1 install -m640 ../owncloud.config.php "$pkgdir"/etc/owncloud/config.php } @@ -68,9 +69,9 @@ plugins() { } _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 + mkdir -p "$subpkgdir"/var/lib/owncloud/apps + mv "$pkgdir"/var/lib/owncloud/apps/files_$1 \ + "$subpkgdir"/var/lib/owncloud/apps } texteditor() { |