1 # Contributor: Peter Avramucz <muczy@freestart.hu>
5 pkgdesc="Hungarian dictionary for ispell."
7 url="http://magyarispell.sourceforge.net/"
8 license=('GPL' 'GPL3' 'LGPL' 'MPL')
10 makedepends=('awk' 'm4')
11 source=(http://downloads.sourceforge.net/sourceforge/magyarispell/magyarispell-$pkgver.tar.gz)
12 md5sums=('17c2ea6ef5f8c1b722046e7c5cd6da75')
15 cd $srcdir/magyarispell-$pkgver
18 sed 's/\/usr\/bin\/awk/\/bin\/awk/g' -i config
20 # Uncomment ispell target, so everything can be built
21 sed 's/#ispell: magyar4ispell.hash/ispell: magyar4ispell.hash/g' -i Makefile
23 # Note: package is not compatible with parallel compiling
24 #export MAKEFLAGS="-j1"
25 make -j1 all || return 1
27 mkdir -p "$startdir/pkg/usr/lib/ispell"
28 cp $startdir/src/magyarispell-$pkgver/*.aff $startdir/pkg/usr/lib/ispell/
29 cp $startdir/src/magyarispell-$pkgver/*.dic $startdir/pkg/usr/lib/ispell/
32 # vim:set ts=2 sw=2 et: