31 lines
884 B
Bash
31 lines
884 B
Bash
# Template file for 'libvoikko'
|
|
pkgname=libvoikko
|
|
version=4.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-hfst=false --with-dictionary-path=/usr/share/voikko"
|
|
pycompile_module="libvoikko.py"
|
|
hostmakedepends="python3"
|
|
short_desc="Free linguistic software and data for Finnish"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://voikko.puimula.org/"
|
|
distfiles="https://www.puimula.org/voikko-sources/libvoikko/${pkgname}-${version}.tar.gz"
|
|
checksum=e843df002fcea2a90609d87e4d6c28f8a0e23332d3b42979ab1793e18f839307
|
|
|
|
post_install() {
|
|
vmkdir ${py3_sitelib}
|
|
cp python/libvoikko.py ${DESTDIR}/${py3_sitelib}
|
|
}
|
|
|
|
libvoikko-devel_package() {
|
|
depends="libvoikko-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|