It's totally wrong to install pkg's files into /var/lib and make them
writable by webserver! Moreover when Nextcloud supports multiple
app paths.
So we use two apps locations:
* /usr/share/webapps/nextcloud/apps - for apps installed by apk,
* /var/lib/nextcloud/apps - for apps installed from AppStore.
BTW Fedora uses the same approach.