actions.py 619 B

123456789101112131415161718192021
  1. #!/usr/bin/env python3
  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 inary.actionsapi import inarytools
  7. from inary.actionsapi import get
  8. WorkDir = "%s/%s" % (get.ARCH(), get.srcNAME())
  9. NoStrip = ["/"]
  10. def install():
  11. inarytools.insinto("/opt/rar/bin", "rar")
  12. inarytools.insinto("/opt/rar/lib", "default.sfx")
  13. inarytools.insinto("/opt/rar/etc", "rarfiles.lst")
  14. inarytools.dosym("/opt/rar/bin/rar", "/usr/bin/rar")
  15. inarytools.dodoc("license.txt", "readme.txt", "whatsnew.txt", "order.htm", "rar.txt")