Update and rename

This commit is contained in:
Manuel 2012-05-02 22:44:12 +00:00
parent 62f6506359
commit 7b3a5cc51c
2 changed files with 32 additions and 18 deletions

View File

@ -1,18 +0,0 @@
# Contributor: Peter Avramucz <muczy@freestart.hu>
pkgname=hunspell-hu-hu
pkgver=0.99.4
pkgrel=2
pkgdesc="Hungarian dictionary for hunspell."
url="http://magyarispell.sourceforge.net/"
license=('GPL' 'GPL3' 'LGPL' 'MPL')
depends=('hunspell')
source=(http://downloads.sourceforge.net/sourceforge/magyarispell/hu_HU-0.99.4.zip)
arch=('i686' 'x86_64')
md5sums=('e697bbd1025a7f11716d7988fcfba778')
build() {
cd $srcdir/
install -D -m644 hu_HU.aff $pkgdir/usr/share/myspell/hu_HU.aff
install -D -m644 hu_HU.dic $pkgdir/usr/share/myspell/hu_HU.dic
}

32
hunspell-hu/PKGBUILD Normal file
View File

@ -0,0 +1,32 @@
# Platform packages for Chakra
pkgname=hunspell-hu
pkgver=1.6.1
pkgrel=1
pkgdesc="Hungarian hunspell dictionary"
arch=('any')
url="http://extensions.services.openoffice.org/project/hu_dicts"
license=('LGPL' 'GPL' 'MPL')
optdepends=('hunspell: the spell checking libraries and apps')
replaces=('hunspell-hu-hu')
source=(http://extensions.services.openoffice.org/e-files/1283/9/dict-hu.oxt)
md5sums=('d320e43e815c2dfd599dbfb7cd0e41fb')
package() {
cd "$srcdir"
install -dm755 ${pkgdir}/usr/share/hunspell
install -m644 -t $pkgdir/usr/share/hunspell hu_HU.dic hu_HU.aff
# the symlinks
install -dm755 ${pkgdir}/usr/share/myspell/dicts
pushd $pkgdir/usr/share/myspell/dicts
for file in $pkgdir/usr/share/hunspell/*; do
ln -sv /usr/share/hunspell/$(basename $file) .
done
popd
# docs
install -Dm644 README_hu_HU.txt $pkgdir/usr/share/doc/$pkgname/README_hu_HU.txt
}