Advertisement
Guest User

Untitled

a guest
Jan 17th, 2024
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. # Maintainer:
  2. # Contributor: twa022 <twa022 at gmail dot com>
  3.  
  4. ## useful links:
  5. # https://www.libreoffice.org/
  6. # https://dev-builds.libreoffice.org/pre-releases/rpm/x86_64/
  7.  
  8. _pkgnamefmt=LibreOffice
  9. _LOver=24.2.0.2
  10.  
  11. # basic info
  12. _pkgname=libreoffice
  13. pkgname="${_pkgname}-dev-bin"
  14. pkgver=24.2.0.2
  15. #_basever=$( cut -f1-2 -d'.' <<< ${_LOver} )
  16. pkgrel=1
  17. pkgdesc="LibreOffice development branch"
  18. url="https://www.libreoffice.org/"
  19. arch=('x86_64')
  20. license=('LGPL3')
  21.  
  22. optdepends=(
  23. 'coin-or-mp: required by the Calc solver'
  24. 'java-environment: required by extension-wiki-publisher and extension-nlpsolver'
  25. 'java-runtime: adds java support'
  26. 'kio5: for Qt5 integration'
  27. )
  28.  
  29. provides=(
  30. 'libreoffice'
  31. 'libreoffice-en-US'
  32. )
  33.  
  34. _dl_url="https://dev-builds.libreoffice.org/pre-releases/rpm/x86_64"
  35. source=("$_dl_url/${_pkgnamefmt}_${_LOver}_Linux_x86-64_rpm.tar.gz")
  36. sha256sums=('82b4a202ef6f85de512d40af0434375d82f8feef1134fc9d0ce69485c065bede')
  37.  
  38. pkgver() {
  39. sed -E 's&\.([a-z]+)&\1&' <<< "${_LOver}"
  40. }
  41.  
  42. package() {
  43. depends+=(
  44. 'curl'
  45. 'gtk3'
  46. 'lpsolve'
  47. 'neon'
  48. )
  49.  
  50. find "${srcdir:?}/${_pkgnamefmt}_${_LOver}"*/RPMS/*rpm -exec bsdtar -x -f '{}' -C "${pkgdir:?}" \;
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement