initial commit, 7.0.2

This commit is contained in:
Carlos Galindo 2021-06-26 01:55:01 +02:00
commit 41140a83c1
2 changed files with 37 additions and 0 deletions

15
.SRCINFO Normal file
View file

@ -0,0 +1,15 @@
pkgbase = nextcloud-app-onlyoffice
pkgdesc = ONLYOFFICE connector allows you to view, edit and collaborate using ONLYOFFICE Docs.
pkgver = 7.0.2
pkgrel = 1
url = https://github.com/ONLYOFFICE/onlyoffice-nextcloud
arch = any
license = AGPL3
depends = nextcloud>=19
depends = nextcloud<22
source = onlyoffice-nextcloud-7.0.2.tar.gz::https://github.com/ONLYOFFICE/onlyoffice-nextcloud/archive/v7.0.2.tar.gz
source = onlyoffice-document-templates-main-new.tar.gz::https://github.com/ONLYOFFICE/document-templates/archive/main/new.tar.gz
sha512sums = cbf30d8fb289b89f1816dfc32584d369319b90f7fb745393ed6d332d8390644a41ed80edcbd7ba0911e7b79290d784f4c015424cd690386e56c56a2c992e94b1
sha512sums = 309994b30c27a80cdc973d93c61a4c979acb9413acf78040d2877b0098bd8640aa79e82e991bf6d11af02d07a16ea67bcb5c42e9f7c96daccb977b5716fcafb1
pkgname = nextcloud-app-onlyoffice

22
PKGBUILD Normal file
View file

@ -0,0 +1,22 @@
# Maintainer: Carlos Galindo < arch -at - cgj.es >
_appname=onlyoffice
pkgname=nextcloud-app-onlyoffice
pkgver=7.0.2
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')
depends=('nextcloud>=19' 'nextcloud<22')
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")
sha512sums=('cbf30d8fb289b89f1816dfc32584d369319b90f7fb745393ed6d332d8390644a41ed80edcbd7ba0911e7b79290d784f4c015424cd690386e56c56a2c992e94b1'
'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"
}