2021-06-26 01:55:01 +02:00
|
|
|
# Maintainer: Carlos Galindo < arch -at - cgj.es >
|
|
|
|
_appname=onlyoffice
|
|
|
|
pkgname=nextcloud-app-onlyoffice
|
2022-01-27 12:15:15 +01:00
|
|
|
pkgver=7.3.0
|
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')
|
2022-01-27 12:15:15 +01:00
|
|
|
depends=('nextcloud>=20' 'nextcloud<24')
|
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")
|
2022-01-27 12:15:15 +01:00
|
|
|
sha512sums=('3afd7a0eea8242ae5964a6aab752120d2ba58e624884014001b5294cc25173af8b19a8ba311f15846a7302acd03f91f770ebef29ee9cc088c78564f9f7735899'
|
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"
|
|
|
|
}
|