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
2022-05-29 23:19:43 +02:00
pkgver=7.3.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')
2022-05-29 23:19:43 +02:00
depends=('nextcloud>=22' 'nextcloud<25')
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-05-29 23:19:43 +02:00
sha512sums=('820dd06c9c3b6f58dc196b98cba378b80bf6dd5826eacb84856ad8f233619a1f37d272d381e5198f92ec54704884a6b1ca8c6cf6c1d8d698db3888b81ab38d95'
'0d4239ea9d9f7848afe4eb192b67bfae5e56e7614d38eb6970cf6a54651f1a32c5e30d229e2c63b98530fc98e87f0e395d051234f33514109dc17bf1ca694b11')
2021-06-26 01:55:01 +02:00
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"
}