summaryrefslogtreecommitdiff
path: root/pcr/hunspell-pt-br/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/hunspell-pt-br/PKGBUILD')
-rw-r--r--pcr/hunspell-pt-br/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/pcr/hunspell-pt-br/PKGBUILD b/pcr/hunspell-pt-br/PKGBUILD
new file mode 100644
index 000000000..0641711df
--- /dev/null
+++ b/pcr/hunspell-pt-br/PKGBUILD
@@ -0,0 +1,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
+}