From 6e28346b4882f4468158eadc1edce316a9319a64 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 21 Feb 2012 11:21:25 -0200 Subject: ~emulatorman/hunspell-gl --- ~emulatorman/hunspell-gl/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 ~emulatorman/hunspell-gl/PKGBUILD (limited to '~emulatorman/hunspell-gl') 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) , 2009-2010. +# Contributor (Parabola): André Silva + +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 +} -- cgit v1.2.3-54-g00ecf