New package: libvoikko-4.2

This commit is contained in:
maxice8 2018-11-10 07:06:36 -02:00 committed by maxice8
parent ee909d5aae
commit ea6e31201b
3 changed files with 32 additions and 0 deletions

View File

@ -3328,3 +3328,4 @@ libcrypto.so.44 libcrypto44-2.8.2_1
libtls.so.18 libtls18-2.8.2_1 libtls.so.18 libtls18-2.8.2_1
libssl.so.46 libssl46-2.8.2_1 libssl.so.46 libssl46-2.8.2_1
libxmlb.so.1 libxmlb-0.1.3_1 libxmlb.so.1 libxmlb-0.1.3_1
libvoikko.so.1 libvoikko-4.2_1

1
srcpkgs/libvoikko-devel Symbolic link
View File

@ -0,0 +1 @@
libvoikko

View File

@ -0,0 +1,30 @@
# Template file for 'libvoikko'
pkgname=libvoikko
version=4.2
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="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-2.0-or-later"
homepage="http://voikko.puimula.org/"
distfiles="http://www.puimula.org/voikko-sources/libvoikko/${pkgname}-${version}.tar.gz"
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"
}
}