# Template file for 'onlyoffice' pkgname=onlyoffice version=8.3.0 revision=1 only_for_archs="x86_64" hostmakedepends="tar xz" short_desc="An office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents" maintainer="Naz " license="AGPL-3.0-only" homepage="https://www.onlyoffice.com/" distfiles="https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v${version}/onlyoffice-desktopeditors_amd64.deb" checksum=af1f638768d603bf843a835a7241c452c2e0d655fe5576eaa7e70251002842e3 nostrip=yes do_extract() { mkdir -p ${DESTDIR} ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/onlyoffice-desktopeditors_amd64.deb tar xf data.tar.xz -C ${DESTDIR} } do_install() { # Cleanup up rm -rf ${DESTDIR}/etc }