actions.py 606 B

123456789101112131415161718192021
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file http://www.gnu.org/licenses/gpl.txt
  6. from pisi.actionsapi import pisitools
  7. from pisi.actionsapi import get
  8. WorkDir = "%s/%s" % (get.ARCH(), get.srcNAME())
  9. NoStrip = ["/"]
  10. def install():
  11. pisitools.insinto("/opt/rar/bin", "rar")
  12. pisitools.insinto("/opt/rar/lib", "default.sfx")
  13. pisitools.insinto("/opt/rar/etc", "rarfiles.lst")
  14. pisitools.dosym("/opt/rar/bin/rar", "/usr/bin/rar")
  15. pisitools.dodoc("license.txt", "readme.txt", "whatsnew.txt", "order.htm", "rar.txt")