hunspell-tr:new package
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>office.dictionary</Name>
|
||||
</PISI>
|
||||
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
import glob
|
||||
|
||||
WorkDir="."
|
||||
|
||||
def install():
|
||||
hunspell_tr = "/usr/lib/libreoffice/share/extensions/hunspell_tr"
|
||||
pisitools.dodir(hunspell_tr)
|
||||
hunspellfile = glob.glob("*.oxt")[0]
|
||||
shelltools.system("unzip %s -d %s/%s" % (hunspellfile, get.installDIR(), hunspell_tr))
|
||||
#for other applications
|
||||
pisitools.dosym("/usr/lib/libreoffice/share/extensions/hunspell_tr/dictionaries/tr-TR.aff","/usr/share/hunspell/tr-TR.aff")
|
||||
pisitools.dosym("/usr/lib/libreoffice/share/extensions/hunspell_tr/dictionaries/tr-TR.dic", "/usr/share/hunspell/tr-TR.dic")
|
||||
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>hunspell-dict-tr</Name>
|
||||
<Homepage>http://extensions.libreoffice.org/extension-center/turkish-spellcheck-dictionary/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2+</License>
|
||||
<License>BSD</License>
|
||||
<IsA>locale:en</IsA>
|
||||
<IsA>data</IsA>
|
||||
<Summary>Turkish hunspell dictionaries</Summary>
|
||||
<Description>Turkish hunspell dictionaries</Description>
|
||||
<Archive sha1sum="9689b49d177f7a501d718da60d76d2b74b1a980a" type="binary">http://extensions.libreoffice.org/extension-center/turkish-spellcheck-dictionary/releases/1.1-2014.12.11/tr-tr.oxt</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>hunspell</Dependency>
|
||||
<!--<Dependency>aspell-tr</Dependency>-->
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>hunspell-dict-tr</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/libreoffice/share/extensions/hunspell_tr/</Path>
|
||||
<Path fileType="data">/usr/share/hunspell</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2015-10-03</Date>
|
||||
<Version>1.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>hunspell-dict-en</Name>
|
||||
<Summary xml:lang="tr">İngilizce hunspell sözlükleri</Summary>
|
||||
<Description xml:lang="tr">hunspell-dict-en İngilizce (US, UK vs.) hunspell sözlüklerini içerir.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user