12345678910111213141516171819202122232425 |
- #!/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 get
- from pisi.actionsapi import pisitools
- from pisi.actionsapi import shelltools
- NoStrip = ["/usr", "/opt"]
- IgnoreAutodep = True
- Version = get.srcVERSION()
- def setup():
- shelltools.system("pwd")
- shelltools.system("ar xf wps-office_%s~*amd64.deb" % Version)
- shelltools.system("tar xf data.tar.xz")
- def install():
- pisitools.insinto("/", "usr")
- pisitools.insinto("/", "opt")
- pisitools.insinto("/", "etc")
|