summaryrefslogtreecommitdiff
path: root/~emulatorman/hunspell-gl/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-02-26 21:53:52 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-02-26 21:53:52 -0500
commit7275399e96c64abc852c3746aa58d10bee8a5a44 (patch)
treea798ae34656585ec83f390dac95382ccc303919c /~emulatorman/hunspell-gl/PKGBUILD
parent4bfc44a83c098d0f6d731b855541140fac36b8aa (diff)
parent31763e92611731c859ccbe4e97019afabb5ef91e (diff)
downloadabslibre-7275399e96c64abc852c3746aa58d10bee8a5a44.tar.gz
abslibre-7275399e96c64abc852c3746aa58d10bee8a5a44.tar.bz2
abslibre-7275399e96c64abc852c3746aa58d10bee8a5a44.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/abslibre
Diffstat (limited to '~emulatorman/hunspell-gl/PKGBUILD')
-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
+}