void-packages/srcpkgs/enchant2/template

32 lines
1.0 KiB
Bash

# Template file for 'enchant2'
pkgname=enchant2
version=2.6.4
revision=1
build_style=gnu-configure
# tests need --enable-relocatable
configure_args="--enable-relocatable"
hostmakedepends="pkg-config groff"
makedepends="libglib-devel hunspell-devel aspell-devel libvoikko-devel
libnuspell-devel icu-devel"
checkdepends="unittest-cpp"
short_desc="Generic spell checking library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://abiword.github.io/enchant/"
changelog="https://raw.githubusercontent.com/AbiWord/enchant/master/NEWS"
distfiles="https://github.com/AbiWord/enchant/releases/download/v${version}/enchant-${version}.tar.gz"
checksum=833b4d5600dbe9ac867e543aac6a7a40ad145351495ca41223d4499d3ddbbd2c
make_check=no # tests broken
enchant2-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/enchant-2/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}