summaryrefslogtreecommitdiff
path: root/~emulatorman/hunspell-gl
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-21 23:15:10 +0000
committerroot <root@rshg054.dnsready.net>2012-02-21 23:15:10 +0000
commit1f55cedf5ea357497d2a98eb2be78d8dab4a9665 (patch)
tree5e44ad19f2672ee92283377c9fe6eab3c8a815d7 /~emulatorman/hunspell-gl
parent11484c032f8c236b2044e715a9a3b28e33f65598 (diff)
Tue Feb 21 23:15:10 UTC 2012
Diffstat (limited to '~emulatorman/hunspell-gl')
-rw-r--r--~emulatorman/hunspell-gl/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/~emulatorman/hunspell-gl/PKGBUILD b/~emulatorman/hunspell-gl/PKGBUILD
new file mode 100644
index 000000000..210fda175
--- /dev/null
+++ b/~emulatorman/hunspell-gl/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>, 2009-2010.
+# Contributor (Parabola): André Silva <andre.paulista@adinet.com.uy>
+
+pkgname=hunspell-gl
+pkgver=2.9b
+pkgrel=1
+pkgdesc="Galician spellchecker for Hunspell"
+arch=('any')
+url="http://trasno.net/"
+license=('GPL3')
+depends=('hunspell')
+source=("http://webs.uvigo.es/miguelsolla/gl_ES.zip")
+md5sums=('209fd16dd47e5cb334fa39563d23c79f')
+
+lang="gl"
+lang2="gl_ES"
+
+build() {
+
+ # Creation of necesary folders...
+ mkdir -p $pkgdir/usr/share/myspell
+ mkdir -p $pkgdir/usr/share/enchant
+
+ # Fix so Enchant can use dictionaries for Hunspell too.
+ ln -s /usr/share/myspell $pkgdir/usr/share/enchant/hunspell
+
+ # Actual installation...
+ install -D -m644 "$srcdir/$lang2.aff" "$pkgdir/usr/share/myspell/$lang.aff" || return 1
+ install -D -m644 "$srcdir/$lang2.dic" "$pkgdir/usr/share/myspell/$lang.dic" || return 1
+}