# # KDE SC Packages for Chakra, part of chakra-project.org # # maintainer (i686): Phil Miller # maintainer (x86_64): Manuel Tortosa pkgname=hunspell pkgver=1.2.11 pkgrel=2 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 # Add a symlink for backwards compatibility with myspell ln -s /usr/share/myspell "${pkgdir}/usr/share/hunspell" }