12345678910111213141516171819202122 |
- #!/usr/bin/env 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, pisitools, shelltools
- NoStrip = ["/opt", "/usr"]
- IgnoreAutodep = True
- def setup():
- shelltools.system("pwd")
- shelltools.system("ar xf franz_5.0.0-beta.14_amd64.deb")
- shelltools.system("tar xf data.tar.xz")
- def install():
- pisitools.insinto("/", "usr")
- pisitools.insinto("/", "opt")
- pisitools.dosym("/opt/Franz/franz", "/usr/bin/franz")
- pisitools.dosym("/usr/share/icons/hicolor/1024x1024/apps/franz.png", "/usr/share/icons/hicolor/scalable/apps/franz.png")
|