summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--social/hunspell-pt-br/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/social/hunspell-pt-br/PKGBUILD b/social/hunspell-pt-br/PKGBUILD
new file mode 100644
index 000000000..c7124503b
--- /dev/null
+++ b/social/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>
+# Contributor (Parabola): André Silva <andre.paulista@adinet.com.uy>
+
+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)
+
+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')