# Maintainer: pkgname=enchant pkgver=2.2.8 pkgrel=0 pkgdesc="Generic library for spell checking" url="https://abiword.github.io/enchant/" arch="all" options="!check" # Requires dictionary that it can't find license="LGPL-2.0+" subpackages="$pkgname-dev $pkgname-doc" depends="" checkdepends="aspell-dict-en unittest-cpp-dev" makedepends="aspell-dev bash dbus-glib-dev file glib-dev hunspell-dev" source="https://github.com/AbiWord/enchant/releases/download/v$pkgver/enchant-$pkgver.tar.gz" build() { CC="gcc" OBJC="gcc" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-static make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="4bfa771af0deab3d0ca5523abab1fdb14cb596747dba7cf887e8cd812601015f52502cbd3df68247f102bba259cb281414e9ccde83b8bdd3c8cc83c2fcbc9090 enchant-2.2.8.tar.gz"