#!/usr/bin/python
# -*- coding: utf-8 -*-
#

from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

# WorkDir = ""
# NoStrip = "/"

def setup():
    shelltools.system("unzip Akia_linux_6_7_6.deb_.zip")
    shelltools.system("ar xf Akia_linux_6_7_6.deb")
    shelltools.system("tar xvf %s/data.tar.gz --exclude=usr/share/gnome-control-center --exclude=usr/bin " %get.workDIR())

def build():
    pass

def install():
    pisitools.insinto("/usr/share/akia", "opt/Akia/akia-6.7.6.jar")
    pisitools.insinto("/usr/lib", "opt/Akia/libakisp11.so")
