core/hunspell/PKGBUILD
2010-05-17 07:50:50 +00:00

29 lines
838 B
Bash

# $Id: PKGBUILD 79927 2010-05-09 14:55:31Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Hussam Al-Tayeb <ht990332@gmail.com>
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
}