summaryrefslogtreecommitdiff
path: root/pcr/hyphen-pt-br/PKGBUILD
blob: 6b08fb6dae71a048d8eba909ffedbb95d6042173 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer (Arch): Robson R S Peixoto <robsonpeixoto@gmail.com>
# Maintainer: André Silva <emulatorman@parabola.nu>

pkgname=hyphen-pt-br
pkgver=213
pkgrel=3
pkgdesc="Portuguese (Brazil) hyphenation rules"
arch=(any)
url="http://pt-br.libreoffice.org/projetos/vero"
license=('LGPL3' 'MPL')
depends=('hyphen')
source=(http://pt-br.libreoffice.org/assets/Uploads/PT-BR-Documents/VERO/hyphptBR-${pkgver}.zip)
md5sums=('498a4ec7976a814f7411f5540cbedece')

package() {
  cd ${srcdir}
  install -D -m644 hyph_pt_BR.dic $pkgdir/usr/share/hyphen/hyph_pt_BR.dic
  mkdir -p $pkgdir/usr/share/myspell/dicts/
  cd $pkgdir/usr/share/myspell/dicts/
  ln -s /usr/share/hyphen/hyph_pt_BR.dic hyph_pt_BR.dic
}