summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/hunspell-pt-br/PKGBUILD12
-rw-r--r--pcr/hyphen-pt-br/PKGBUILD21
2 files changed, 27 insertions, 6 deletions
diff --git a/pcr/hunspell-pt-br/PKGBUILD b/pcr/hunspell-pt-br/PKGBUILD
index 6a5018dae..2a0ceef00 100644
--- a/pcr/hunspell-pt-br/PKGBUILD
+++ b/pcr/hunspell-pt-br/PKGBUILD
@@ -5,13 +5,13 @@
pkgname=hunspell-pt-br
pkgver=3.2
-pkgrel=2
-pkgdesc="Portuguese (Brazil) dictionary"
+pkgrel=3
+pkgdesc="Portuguese (Brazil) hunspell dictionary"
arch=(any)
-url="http://pt-br.libreoffice.org/projetos/projeto-vero-verificador-ortografico"
-license=('LGPLv3' 'MPL')
-optdepends=('hunspell: the spell checking libraries and apps')
-source=(http://pt-br.libreoffice.org/assets/VeroptBRV320AOC.oxt)
+url="http://pt-br.libreoffice.org/projetos/vero"
+license=('LGPL3' 'MPL')
+optdepends=('hunspell: the spell checking libraries and apps')
+source=(http://pt-br.libreoffice.org/assets/Uploads/PT-BR-Documents/VERO/VeroptBRV320AOC.oxt)
md5sums=('9a9ac174c401406604bfcf101de2a7ba')
package() {
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
+}