makedeb


onlyoffice-bin 7.3.0-1


An office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents.

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for onlyoffice-bin.

# Maintainer: zocker_160 <zocker1600 at posteo dot net>
pkgname=onlyoffice-bin
pkgver=7.3.0
pkgrel=1
pkgdesc="An office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents."
arch=('amd64')
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::https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v${pkgver}/onlyoffice-desktopeditors_amd64.deb")
sha512sums=("6f7102ce52e429215f3174d9d8e4f01482bc65d6dc215b25a75ea23e6dc1b91328312a76daf4f4e7d58863143d9bdc525a1af94ec9cd6b03853a3b0556787a3d")

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"
}