summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3fc21ebf02a0a783f2b7112d2a65d594567e8b45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
pkgname=libreoffice-extension-altsearch
_pkgname=altsearch
pkgver=1.4.2
pkgrel=1
pkgdesc="Alternative dialog Find & Replace for Writer"
arch=('any')
url="https://extensions.libreoffice.org/en/extensions/show/70066"
license=('LGPL')
groups=('libreoffice-extensions')
depends=('libreoffice' 'java-runtime')
noextract=(${source[@]##*/})
source=(https://extensions.libreoffice.org/assets/downloads/73/1713150982/AltSearch.oxt)
sha512sums=('c8107162f4fd56338728eb3ae8eb5b8bf4ba01bac817bd9c96209e80810cd41d8bdfd8b88c2a6b3300350d468e4fe385cbb0d9f3bd4f1fb2e04ef17ef42438fd')

package() {
   _DESTDIR="${pkgdir}/usr/lib/libreoffice/share/extensions/${_pkgname}/"
   install -dm755 "${_DESTDIR}"
   bsdtar -xf "$srcdir"/AltSearch.oxt -C "${_DESTDIR}"
   chmod -R g-w,o-w "${_DESTDIR}"
}