actions.py 983 B

12345678910111213141516171819202122232425262728
  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/copyleft/gpl.txt
  6. from pisi.actionsapi import pisitools
  7. from pisi.actionsapi import get
  8. #WorkDir = "%s/.dropbox-dist/dropbox-lnx.x86_64-162.4.5419" % get.ARCH()
  9. WorkDir = "/.dropbox-dist/dropbox-lnx.x86_64-213.4.4597"
  10. NoStrip = "/opt/dropbox/library.zip"
  11. def install():
  12. #pisitools.dodir("/opt/dropbox")
  13. pisitools.insinto("/opt/dropbox", "*")
  14. pisitools.dosym("/opt/dropbox/dropboxd", "/usr/bin/dropbox")
  15. # Arch removes this lib, Pardus libgcc package provides libstdc++.so.6
  16. #pisitools.remove("/opt/dropbox/libstdc++.so.6")
  17. pisitools.dodoc("VERSION")
  18. pisitools.remove("/opt/dropbox/VERSION")
  19. # you can remove these lines if u don't like monochromatic systemtry icons
  20. # i'm going to try find a way to make this optional
  21. #pisitools.insinto("/opt/dropbox/icons/hicolor/16x16/status", "../../hede/*.png")