1d79784495
Also necessary for the nuspell soname bump. Picks up comment from: https://github.com/void-linux/void-packages/pull/27323
30 lines
959 B
Bash
30 lines
959 B
Bash
# Template file for 'enchant2'
|
|
pkgname=enchant2
|
|
version=2.2.15
|
|
revision=1
|
|
wrksrc="enchant-${version}"
|
|
build_style=gnu-configure
|
|
# tests need --enable-relocatable
|
|
configure_args="--enable-relocatable"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libglib-devel hunspell-devel aspell-devel libvoikko-devel
|
|
libnuspell-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/"
|
|
distfiles="https://github.com/AbiWord/enchant/releases/download/v${version}/enchant-${version}.tar.gz"
|
|
checksum=3b0f2215578115f28e2a6aa549b35128600394304bd79d6f28b0d3b3d6f46c03
|
|
|
|
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
|
|
}
|
|
}
|