summaryrefslogtreecommitdiff
path: root/pcr/hunspell-pt-br/PKGBUILD
blob: 0641711df96933213f482bf9e2db1e7f96ff5dba (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@lavabit.com>

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

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
}