summaryrefslogtreecommitdiff
path: root/pcr/hyphen-pt-br
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/hyphen-pt-br')
-rw-r--r--pcr/hyphen-pt-br/PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/pcr/hyphen-pt-br/PKGBUILD b/pcr/hyphen-pt-br/PKGBUILD
new file mode 100644
index 000000000..6b08fb6da
--- /dev/null
+++ b/pcr/hyphen-pt-br/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer (Arch): Robson R S Peixoto <robsonpeixoto@gmail.com>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+pkgname=hyphen-pt-br
+pkgver=213
+pkgrel=3
+pkgdesc="Portuguese (Brazil) hyphenation rules"
+arch=(any)
+url="http://pt-br.libreoffice.org/projetos/vero"
+license=('LGPL3' 'MPL')
+depends=('hyphen')
+source=(http://pt-br.libreoffice.org/assets/Uploads/PT-BR-Documents/VERO/hyphptBR-${pkgver}.zip)
+md5sums=('498a4ec7976a814f7411f5540cbedece')
+
+package() {
+ cd ${srcdir}
+ install -D -m644 hyph_pt_BR.dic $pkgdir/usr/share/hyphen/hyph_pt_BR.dic
+ mkdir -p $pkgdir/usr/share/myspell/dicts/
+ cd $pkgdir/usr/share/myspell/dicts/
+ ln -s /usr/share/hyphen/hyph_pt_BR.dic hyph_pt_BR.dic
+}