void-packages/srcpkgs/libvoikko/template

31 lines
887 B
Bash
Raw Normal View History

2018-11-10 09:06:36 +00:00
# Template file for 'libvoikko'
pkgname=libvoikko
version=4.2
2018-12-09 12:51:49 +00:00
revision=2
2018-11-10 09:06:36 +00:00
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="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-2.0-or-later"
2018-12-09 12:51:49 +00:00
homepage="https://voikko.puimula.org/"
distfiles="https://www.puimula.org/voikko-sources/libvoikko/${pkgname}-${version}.tar.gz"
2018-11-10 09:06:36 +00:00
checksum=f13c59825f36152f388cd96f638e447744199775277f4e6bcd0b9483f0eebeca
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"
}
}