# Maintainer: PktSurf app=enchant version=2.2.8 build=1sml homepage="https://abiword.github.io/enchant/" download="https://github.com/AbiWord/$version/releases/download/v$version/enchant-$version.tar.gz" desc="spell checking library" requires="gcc-libs glib aspell hunspell" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { ./configure \ --prefix=/usr \ --disable-static make make install DESTDIR=$pkg cp COPYING.LIB $pkgdocs/ ( cd $pkg cd usr/include ; ln -sfv enchant-2 enchant cd ../bin ; ln -sfv enchant-2 enchant cd ../lib ; ln -sfv libenchant-2.so libenchant.so cd pkgconfig ; ln -sfv enchant-2.pc enchant.pc ) mkfinalpkg } sha512sums=" 40bc7d5aa40f0460bd500ee1fbe3434ad7f5b99dc75be2dc428694b7ce2d97a4b172535f5f3010bdad77de21f98f155b774acefab8bb7a7f1872700ecf4ed48e enchant-2.2.8.tar.lz "