summaryrefslogtreecommitdiff
path: root/pcr/hunspell-pt-br/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-09 00:05:27 -0700
committerroot <root@rshg054.dnsready.net>2013-04-09 00:05:27 -0700
commit987f836820eae061f40608b4ee1b6a14ecced3cc (patch)
treed28e524877b41fb49ccb7b2f99b36db2f9c90e89 /pcr/hunspell-pt-br/PKGBUILD
parentce26b1905ac40cd9389e1c9f364a2ccd8f4ec13c (diff)
Tue Apr 9 00:05:27 PDT 2013
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
+}