summaryrefslogtreecommitdiff
path: root/pcr/hunspell-pt-br/PKGBUILD
blob: 2a0ceef004a93c38bbd1a7082d247851793ba021 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer (Arch): Daniel Felipe Reis Apolinario <dapolinario@gmail.com>
# Contributor (Arch): Bernardo Barros <bernardobarros@NOSPAM.gmail.com>
# Contributor (Arch): Robson R S Peixoto <robsonpeixoto@gmail.com>
# Maintainer: André Silva <emulatorman@parabola.nu>

pkgname=hunspell-pt-br
pkgver=3.2
pkgrel=3
pkgdesc="Portuguese (Brazil) hunspell dictionary"
arch=(any)
url="http://pt-br.libreoffice.org/projetos/vero"
license=('LGPL3' 'MPL')
optdepends=('hunspell: the spell checking libraries and apps')
source=(http://pt-br.libreoffice.org/assets/Uploads/PT-BR-Documents/VERO/VeroptBRV320AOC.oxt)
md5sums=('9a9ac174c401406604bfcf101de2a7ba')

package() {
  install -D -m644 ${srcdir}/pt_BR.dic ${pkgdir}/usr/share/hunspell/pt_BR.dic
  install -D -m644 ${srcdir}/pt_BR.aff ${pkgdir}/usr/share/hunspell/pt_BR.aff
  
  mkdir -p ${pkgdir}/usr/share/myspell/dicts
  ln -s /usr/share/hunspell/pt_BR.dic ${pkgdir}/usr/share/myspell/dicts/pt_BR.dic
  ln -s /usr/share/hunspell/pt_BR.aff ${pkgdir}/usr/share/myspell/dicts/pt_BR.aff
}