diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-02-24 00:15:39 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-02-24 00:15:39 -0300 |
commit | 2050be76621e72c15b0e6547fa0b3e676319cf6c (patch) | |
tree | 75f8a4cd7df60691712fd1c4523220690de34ac4 /~emulatorman/hunspell-gl/PKGBUILD | |
parent | 8ce56f6ffc2826ca322adb4d0291152f9f5a69aa (diff) | |
parent | 42355452368e0a44d65d7a2d2128d21225d7ed2b (diff) |
Merge branch 'master' of ssh://gparabola/abslibre
Diffstat (limited to '~emulatorman/hunspell-gl/PKGBUILD')
-rw-r--r-- | ~emulatorman/hunspell-gl/PKGBUILD | 30 |
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 +} |