31 lines
923 B
Bash
31 lines
923 B
Bash
# Template file for 'libvoikko'
|
|
pkgname=libvoikko
|
|
version=4.3.1
|
|
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=368240d4cfa472c2e2c43dc04b63e6464a3e6d282045848f420d0f7a6eb09a13
|
|
make_check=no # missing dictionaries
|
|
|
|
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"
|
|
}
|
|
}
|