hunspell-dict-sv:move into main repo for pisi 2.0

This commit is contained in:
2015-10-06 00:44:35 +03:00
parent a6173fe929
commit 9a3c1de496
3 changed files with 77 additions and 0 deletions
@@ -0,0 +1,19 @@
#!/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
WorkDir = "."
def setup():
shelltools.system("unzip -o ooo_swedish_dict_2-36.oxt")
def install():
pisitools.insinto("/usr/share/hunspell", "dictionaries/*.dic")
pisitools.insinto("/usr/share/hunspell", "dictionaries/*.aff")
pisitools.dodoc("LICENSE*")