nextcloud-app-onlyoffice/PKGBUILD

23 lines
1.1 KiB
Text
Raw Normal View History

2021-06-26 01:55:01 +02:00
# Maintainer: Carlos Galindo < arch -at - cgj.es >
_appname=onlyoffice
pkgname=nextcloud-app-onlyoffice
2021-11-10 12:21:08 +01:00
pkgver=7.2.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')
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-11-10 12:21:08 +01:00
sha512sums=('2ca3ad363413aab05c27c778b80d05c1c1b151a89aadd854b827c91a83e8be6f1c4d95e3e668a7435289be4f5c90037acf3d8c9ee9149506d859530a8efdbc49'
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"
}