# $Id: PKGBUILD 79927 2010-05-09 14:55:31Z andyrtr $ # Maintainer: Andreas Radke # Contributor: Hussam Al-Tayeb pkgname=hunspell pkgver=1.2.11 pkgrel=1 pkgdesc="Spell checker and morphological analyzer library and program" arch=('i686' 'x86_64') url="http://hunspell.sourceforge.net/" license=('GPL' 'LGPL' 'MPL') depends=('gcc-libs' 'readline') optdepends=('perl: for ispellaff2myspell') options=('!libtool') source=(http://downloads.sourceforge.net/hunspell/hunspell-$pkgver.tar.gz) md5sums=('8f57cdc4db091d69e1f682ed4d8ab282') build() { cd "$srcdir/hunspell-$pkgver" ./configure --prefix=/usr --disable-static \ --with-ui --with-readline --with-experimental || return 1 make || return 1 } package() { cd "$srcdir/hunspell-$pkgver" make DESTDIR="$pkgdir" install || return 1 }