28 lines
927 B
Bash
28 lines
927 B
Bash
# Template file for 'enchant2'
|
|
pkgname=enchant2
|
|
version=2.2.7
|
|
revision=1
|
|
wrksrc="enchant-${version}"
|
|
build_style=gnu-configure
|
|
make_build_args="pkgdatadir=/usr/share/enchant-2"
|
|
make_install_args="$make_build_args"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libglib-devel hunspell-devel aspell-devel libvoikko-devel"
|
|
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=1b22976135812b35cb5b8d21a53ad11d5e7c1426c93f51e7a314a2a42cab3a09
|
|
|
|
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
|
|
}
|
|
}
|