summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 32a8724a6861996a45ffe6b625e85f472d545f62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: franzrogar <franzrogar gmail com>
# Contributor: delta48 <dark.magician.48+aur[at]gmail[dot]com>

pkgname=libreoffice-extension-dictionaries-es
pkgver=2.4
pkgrel=1
pkgdesc='Spanish dictionaries extension for LibreOffice'
arch=('any')
url='https://extensions.libreoffice.org/extensions/spanish-dictionaries'
license=('GPL3')
groups=('libreoffice-extensions')
conflicts=('languagetool')
source=(https://extensions.libreoffice.org/extensions/spanish-dictionaries/${pkgver}/@@download/file/es_ANY.oxt)
noextract=('es_ANY.oxt')
sha256sums=('36507ebabce67d64056c51ee071b4bce2f2c2ebb150278561761480937a27f9a')


package() {
  install -dm755 $pkgdir/usr/lib/libreoffice/share/extensions/spanish-dictionaries
  bsdtar -xf $srcdir/es_ANY.oxt -C $pkgdir/usr/lib/libreoffice/share/extensions/spanish-dictionaries
  mv $pkgdir/usr/lib/libreoffice/share/extensions/spanish-dictionaries/Iberoamérica.png $pkgdir/usr/lib/libreoffice/share/extensions/spanish-dictionaries/Iberoamerica.png
}