diff options
-rw-r--r-- | community/nextcloud/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/community/nextcloud/APKBUILD b/community/nextcloud/APKBUILD index 13b0b1d057..87d7686c1e 100644 --- a/community/nextcloud/APKBUILD +++ b/community/nextcloud/APKBUILD @@ -177,10 +177,12 @@ _package_app() { local php_deps=$(xmlstarlet sel -t -v 'info/dependencies/lib/text()' "$appinfo" \ | xargs -r -n1 printf "$_php-%s\n") - depends="$pkgname $php_deps" + local app_deps="" - # XXX: Provides/replaces for backward compatibility with <12.0.0-r2. case "$appname" in + files_sharing) app_deps="-federatedfilesharing";; + + # XXX: Provides/replaces for backward compatibility with <12.0.0-r2. files_pdfviewer | files_texteditor | files_videoplayer) provides="$pkgname-${appname#files_}" replaces="$provides" @@ -191,6 +193,8 @@ _package_app() { ;; esac + depends="$pkgname $php_deps ${app_deps//-/$pkgname-}" + mkdir -p "$subpkgdir"/$_appsdir mv "$pkgdir"/$_appsdir/$appname "$subpkgdir"/$_appsdir/ } |