Removed hunspell-gl from Platform, added the latest version (two different flavors) to Apps, as this is to be a rolling package.

This commit is contained in:
Adrian Chaves Fernandez (Gallaecio) 2014-01-12 19:09:19 +00:00
parent d0daff427e
commit 3e8b2c6d4e
2 changed files with 78 additions and 0 deletions

48
hunspell-gl/PKGBUILD Normal file
View File

@ -0,0 +1,48 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>, 2009-2010.
pkgbase=hunspell-gl
pkgname=(hunspell-gl-comunidade hunspell-gl-volg)
pkgver=13.10
pkgrel=1
pkgdesc="Galician spellchecker for Hunspell"
arch=('any')
url="http://trasno.net/"
license=('GPL3')
provides=(hunspell-gl)
conflicts=(hunspell-gl)
depends=('hunspell')
source=("http://downloads.sourceforge.net/project/hunspell-gl/estables/hunspell-gl-comunidade-$pkgver.tar.xz"
"http://downloads.sourceforge.net/project/hunspell-gl/estables/hunspell-gl-volg-$pkgver.tar.xz")
md5sums=('ec1732a53504f7e737cba1ae51c89f8a'
'54d1b0b3806767804a8b85077c0b26f9')
lang="gl"
lang2="gl_ES"
package_hunspell-gl-comunidade() {
# 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/$pkgname-$pkgver/$lang2.aff" "$pkgdir/usr/share/myspell/$lang.aff"
install -D -m644 "$srcdir/$pkgname-$pkgver/$lang2.dic" "$pkgdir/usr/share/myspell/$lang.dic"
}
package_hunspell-gl-volg() {
# 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/$pkgname-$pkgver/$lang2.aff" "$pkgdir/usr/share/myspell/$lang.aff"
install -D -m644 "$srcdir/$pkgname-$pkgver/$lang2.dic" "$pkgdir/usr/share/myspell/$lang.dic"
}

30
hunspell-gl/PKGBUILD.save Normal file
View File

@ -0,0 +1,30 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>, 2009-2010.
pkgbase=hunspell-gl
pkgname=(hunspell-gl-comunidade hunspell-gl-volg)
pkgver=13.10
pkgrel=1
pkgdesc="Galician spellchecker for Hunspell"
arch=('any')
url="http://trasno.net/"
license=('GPL3')
depends=('hunspell')
source=("http:")
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
}