core/hunspell-pt-br/PKGBUILD

31 lines
1017 B
Bash

# Maintainer: Daniele Cocca <jmc@chakra-project.org>
# Original AUR Maintainer: Daniel Felipe Reis Apolinario <dapolinario@gmail.com>
# Original AUR Contributor: Bernardo Barros <bernardobarros@NOSPAM.gmail.com>
# Original AUR Contributor: Robson R S Peixoto <robsonpeixoto@gmail.com>
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')
md5sums=('47313490f1a21c87b6d5fb5655042e22')
package() {
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"
install -d -m755 "${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
}
# vim:set ts=2 sw=2 et: