# Maintainer: Natanael Copa pkgname=hunspell pkgver=1.3.2 pkgrel=1 pkgdesc="Spell checker and morphological analyzer library and program" url="http://hunspell.sourceforge.net/" arch="all" license="GPL LGPL MPL" subpackages="$pkgname-dev $pkgname-doc" depends= makedepends="gettext-dev" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" _builddir="$srcdir/$pkgname-$pkgver" prepare() { cd "$_builddir" update_config_sub || return 1 } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-static \ --without-included-gettext \ || return 1 make || return 1 } package() { cd "$_builddir" make -j1 DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la || return 1 } md5sums="3121aaf3e13e5d88dfff13fb4a5f1ab8 hunspell-1.3.2.tar.gz"