summaryrefslogtreecommitdiff
path: root/~emulatorman/hunspell-pt-br/PKGBUILD
blob: c7124503ba05245691837c810a2f639fe2c5e740 (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
25
26
27
# Maintainer: Daniel Felipe Reis Apolinario <dapolinario@gmail.com>
# Contributor: Bernardo Barros <bernardobarros@NOSPAM.gmail.com>
# Contributor: Robson R S Peixoto <robsonpeixoto@gmail.com>
# Contributor (Parabola): André Silva <andre.paulista@adinet.com.uy>

pkgname=hunspell-pt-br
pkgver=2.0.9
pkgrel=1
pkgdesc="Portuguese (Brazil) dictionary"
arch=(any)
url="http://www.broffice.org/verortografico/"
license=('LGPL-2.1')
optdepends=('hunspell:  the spell checking libraries and apps')
source=(http://www.broffice.org/files/Vero_pt_BR_V209AOC.oxt)

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

  ln -s /usr/share/hunspell/pt_BR.dic pt_BR.dic
  ln -s /usr/share/hunspell/pt_BR.aff pt_BR.aff
}

md5sums=('47313490f1a21c87b6d5fb5655042e22')