actions.py 838 B

1234567891011121314151617181920212223242526
  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" % get.ARCH()
  9. NoStrip = "/opt/dropbox/library.zip"
  10. def install():
  11. #pisitools.dodir("/opt/dropbox")
  12. pisitools.insinto("/opt/dropbox", "*")
  13. # Arch removes this lib, Pardus libgcc package provides libstdc++.so.6
  14. #pisitools.remove("/opt/dropbox/libstdc++.so.6")
  15. pisitools.dodoc("VERSION")
  16. pisitools.remove("/opt/dropbox/VERSION")
  17. # you can remove these lines if u don't like monochromatic systemtry icons
  18. # i'm going to try find a way to make this optional
  19. #pisitools.insinto("/opt/dropbox/icons/hicolor/16x16/status", "../../hede/*.png")