Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer:
- # Contributor: twa022 <twa022 at gmail dot com>
- ## useful links:
- # https://www.libreoffice.org/
- # https://dev-builds.libreoffice.org/pre-releases/rpm/x86_64/
- _pkgnamefmt=LibreOffice
- _LOver=24.2.0.2
- # basic info
- _pkgname=libreoffice
- pkgname="${_pkgname}-dev-bin"
- pkgver=24.2.0.2
- #_basever=$( cut -f1-2 -d'.' <<< ${_LOver} )
- pkgrel=1
- pkgdesc="LibreOffice development branch"
- url="https://www.libreoffice.org/"
- arch=('x86_64')
- license=('LGPL3')
- optdepends=(
- 'coin-or-mp: required by the Calc solver'
- 'java-environment: required by extension-wiki-publisher and extension-nlpsolver'
- 'java-runtime: adds java support'
- 'kio5: for Qt5 integration'
- )
- provides=(
- 'libreoffice'
- 'libreoffice-en-US'
- )
- _dl_url="https://dev-builds.libreoffice.org/pre-releases/rpm/x86_64"
- source=("$_dl_url/${_pkgnamefmt}_${_LOver}_Linux_x86-64_rpm.tar.gz")
- sha256sums=('82b4a202ef6f85de512d40af0434375d82f8feef1134fc9d0ce69485c065bede')
- pkgver() {
- sed -E 's&\.([a-z]+)&\1&' <<< "${_LOver}"
- }
- package() {
- depends+=(
- 'curl'
- 'gtk3'
- 'lpsolve'
- 'neon'
- )
- find "${srcdir:?}/${_pkgnamefmt}_${_LOver}"*/RPMS/*rpm -exec bsdtar -x -f '{}' -C "${pkgdir:?}" \;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement