updated on Sun Jan 22 12:09:12 UTC 2012
[aur-mirror.git] / ispell-hu / PKGBUILD
blob2a2ba77b092b17bcc038ac503ba8baee0ee15bac
1 # Contributor: Peter Avramucz <muczy@freestart.hu>
2 pkgname=ispell-hu
3 pkgver=1.5
4 pkgrel=1
5 pkgdesc="Hungarian dictionary for ispell."
6 arch=('i686' 'x86_64')
7 url="http://magyarispell.sourceforge.net/"
8 license=('GPL' 'GPL3' 'LGPL' 'MPL')
9 depends=('ispell')
10 makedepends=('awk' 'm4')
11 source=(http://downloads.sourceforge.net/sourceforge/magyarispell/magyarispell-$pkgver.tar.gz)
12 md5sums=('17c2ea6ef5f8c1b722046e7c5cd6da75')
14 build() {
15         cd $srcdir/magyarispell-$pkgver
17         # Fix awk location
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: