template 790 B

123456789101112131415161718192021222324
  1. # Template file for 'onlyoffice'
  2. pkgname=onlyoffice
  3. version=8.2.2
  4. revision=1
  5. only_for_archs="x86_64"
  6. hostmakedepends="tar xz"
  7. short_desc="An office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents"
  8. maintainer="Naz <[email protected]>"
  9. license="AGPL-3.0-only"
  10. homepage="https://www.onlyoffice.com/"
  11. distfiles="https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v${version}/onlyoffice-desktopeditors_amd64.deb"
  12. checksum=0f02a93cccac2e18c00626141836ecda31b4960473597f97e21afe2dbda5c6a9
  13. nostrip=yes
  14. do_extract() {
  15. mkdir -p ${DESTDIR}
  16. ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/onlyoffice-desktopeditors_amd64.deb
  17. tar xf data.tar.xz -C ${DESTDIR}
  18. }
  19. do_install() {
  20. # Cleanup up
  21. rm -rf ${DESTDIR}/etc
  22. }