summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3355554276d38c78f8bc2656e59d1abb001c8b70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: zocker_160 <zocker1600 at posteo dot net>

pkgname=onlyoffice-bin
pkgver=6.4.2
pkgrel=10
pkgdesc="An office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents."
arch=('x86_64')
depends=('x11-common' 'libasound2' 'wget' 'gstreamer1.0-libav' 'gstreamer1.0-plugins-ugly'
            'libxss1' 'libatk1.0-0' 'libgtk-3-0' 'libcairo2' 'libgconf-2-4' 'libstdc++6'
            'fonts-dejavu' 'fonts-opensymbol' 'fonts-liberation' 'fonts-crosextra-carlito' 'xdg-utils')
optdepends=('ttf-dejavu' 'fonts-takao-gothic')
makedepends=('xz-utils')
license=('AGPL-3.0')
conflicts=('onlyoffice')
provides=('onlyoffice')
url="https://www.onlyoffice.com"
source=("$pkgname-$pkgver.deb::https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v${pkgver}/onlyoffice-desktopeditors_amd64.deb")
sha256sums=('388b336396237aaa692bbb7dcf985053e575a5b00d5aefea8935517d59865d93')

package() {
    cd $srcdir
    msg2 "Extracting data.tar.xz..."
    tar -xf 'data.tar.xz' -C "${pkgdir}"
    
    msg2 "Extracting control.tar.xz..."
    mkdir -p "${pkgdir}/DEBIAN"
    tar -xf 'control.tar.gz' -C "${pkgdir}/DEBIAN"
    rm "${pkgdir}/DEBIAN/control"
}