2021-06-26 01:55:01 +02:00
|
|
|
# Maintainer: Carlos Galindo < arch -at - cgj.es >
|
|
|
|
_appname=onlyoffice
|
|
|
|
pkgname=nextcloud-app-onlyoffice
|
2021-07-12 10:53:59 +02:00
|
|
|
pkgver=7.0.4
|
2021-06-26 01:55:01 +02:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="ONLYOFFICE connector allows you to view, edit and collaborate using ONLYOFFICE Docs."
|
|
|
|
arch=("any")
|
|
|
|
url="https://github.com/ONLYOFFICE/onlyoffice-nextcloud"
|
|
|
|
license=('AGPL3')
|
2021-07-12 10:53:59 +02:00
|
|
|
depends=('nextcloud>=22' 'nextcloud<23')
|
2021-06-26 01:55:01 +02:00
|
|
|
source=("$_appname-nextcloud-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
|
|
|
|
"onlyoffice-document-templates-main-new.tar.gz::https://github.com/ONLYOFFICE/document-templates/archive/main/new.tar.gz")
|
2021-07-12 10:53:59 +02:00
|
|
|
sha512sums=('6a9b00516742bf2345166de35dd29070b7473ad54b76316b8bee9862adfccb0321b22c904aa2ea87aac9549a8e47ea112f0ea877619f6059164eeb86de017111'
|
2021-06-26 01:55:01 +02:00
|
|
|
'309994b30c27a80cdc973d93c61a4c979acb9413acf78040d2877b0098bd8640aa79e82e991bf6d11af02d07a16ea67bcb5c42e9f7c96daccb977b5716fcafb1')
|
|
|
|
|
|
|
|
package() {
|
|
|
|
local _appsdir="$pkgdir/usr/share/webapps/nextcloud/apps"
|
|
|
|
mkdir -p "$_appsdir"
|
|
|
|
cp -a "$_appname-nextcloud-$pkgver" "$_appsdir/$_appname"
|
|
|
|
rmdir "$_appsdir/$_appname/assets"
|
|
|
|
cp -a document-templates-main-new "$_appsdir/$_appname/assets"
|
|
|
|
}
|