add voikko-fi.

This commit is contained in:
4fury-c3440d8
2022-12-02 11:39:53 +03:00
parent 71fdd5ff75
commit 8b7ceffad4
2 changed files with 63 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools, get
def build():
autotools.make("vvfst")
def install():
autotools.make("DESTDIR=%s/usr/share/voikko vvfst-install" % get.installDIR())
+50
View File
@@ -0,0 +1,50 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>voikko-fi</Name>
<Homepage>https://voikko.puimula.org/</Homepage>
<Packager>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Packager>
<License>GPL-2</License>
<IsA>data</IsA>
<PartOf>office.dictionary</PartOf>
<Summary>Finnish dictionary for Voikko.</Summary>
<Description>
Voikko-fi is a description of Finnish morphology written for libvoikko. The implementation uses unweighted VFST format and provides format 5 Finnish dictionary for libvoikko 4.0 or later.
</Description>
<Archive sha1sum="4cb8d2f99a9331232dc59dfc45cef15bc71fb070" type="targz">
https://www.puimula.org/voikko-sources/voikko-fi/voikko-fi-2.5.tar.gz
</Archive>
<BuildDependencies>
<Dependency>foma</Dependency>
<Dependency>python3</Dependency>
<Dependency>libvoikko-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level='1'></Patch> -->
</Patches>
</Source>
<Package>
<Name>voikko-fi</Name>
<RuntimeDependencies>
<Dependency>libvoikko</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/share/voikko/5/mor-standard</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-12-02</Date>
<Version>2.5</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
</History>
</PISI>