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/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/pcr/hunspell-pt-br/PKGBUILD b/pcr/hunspell-pt-br/PKGBUILD
new file mode 100644
index 000000000..35e1dc887
--- /dev/null
+++ b/pcr/hunspell-pt-br/PKGBUILD
@@ -0,0 +1,27 @@
+# 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 <andre.paulista@adinet.com.uy>
+
+pkgname=hunspell-pt-br
+pkgver=2.0.9
+pkgrel=1
+pkgdesc="Portuguese (Brazil) hunspell 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')