void-packages/srcpkgs/libvoikko/template

31 lines
891 B
Bash

# Template file for 'libvoikko'
pkgname=libvoikko
version=4.3.2
revision=1
build_style=gnu-configure
configure_args="--enable-hfst=false --with-dictionary-path=/usr/share/voikko"
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=0156c2aaaa32d4b828addc7cefecfcea4591828a0b40f0cd8a80cd22f8590da2
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"
}
}