#!/bin/sh NAME="enchant2" DESC="wrapper library for generic spell checking (v2)" MAKEDEPS="aspell glib dbus-glib gettext file bash nuspell" PKG_VER=2.3.3 SOURCE="https://github.com/AbiWord/enchant/releases/download/v$PKG_VER/enchant-$PKG_VER.tar.gz" build() { ./configure \ --prefix=/usr \ --disable-static \ --with-nuspell make } check() { make check } package() { make DESTDIR="$PKG_DEST" pkgdatadir=/usr/share/enchant-2 install }