hunspell-dict-ru:move into main repo for pisi 2.0
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#!/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
|
||||
|
||||
WorkDir = "."
|
||||
|
||||
def install():
|
||||
pisitools.insinto("/usr/share/hunspell", "ru_myspell.dict", "ru_RU.dic")
|
||||
pisitools.insinto("/usr/share/hunspell", "ru_RU.koi8r.aff", "ru_RU.aff")
|
||||
|
||||
shelltools.chmod("%s/usr/share/hunspell/*" % get.installDIR(), 0644)
|
||||
|
||||
for lang in ("ru_UA",):
|
||||
pisitools.dosym("ru_RU.dic", "/usr/share/hunspell/%s.dic" % lang)
|
||||
pisitools.dosym("ru_RU.aff", "/usr/share/hunspell/%s.aff" % lang)
|
||||
|
||||
pisitools.dodoc("readme*", "LICENSE")
|
||||
Reference in New Issue
Block a user