summaryrefslogtreecommitdiff
path: root/pcr/hunspell-pt-br/PKGBUILD
blob: 0ae4e4e76dbd64ff3e826e3f3be062e2cfe0113d (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: Daniel Felipe Reis Apolinario <dapolinario@gmail.com>
# Contributor: Bernardo Barros <bernardobarros@NOSPAM.gmail.com>
# Contributor: Robson R S Peixoto <robsonpeixoto@gmail.com>
# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>

pkgname=hunspell-pt-br
pkgver=3.2
pkgrel=1
pkgdesc="Portuguese (Brazil) dictionary"
arch=(any)
url="http://pt-br.libreoffice.org/projetos/projeto-vero-verificador-ortografico"
license=('LGPLv3' 'MPL')
optdepends=('hunspell:  the spell checking libraries and apps')
source=(http://pt-br.libreoffice.org/assets/VeroptBRV320AOG.oxt)
md5sums=('3b2f7291d486435cf6706b55e02da5b6')

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
}