commit 41140a83c1a8544dde8d8b6fd373906e737a3e72 Author: Carlos Galindo Date: Sat Jun 26 01:55:01 2021 +0200 initial commit, 7.0.2 diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..2cf16b1 --- /dev/null +++ b/.SRCINFO @@ -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 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..c7ba71f --- /dev/null +++ b/PKGBUILD @@ -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" +}