actions.py 656 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/licenses/gpl.txt
  6. from pisi.actionsapi import shelltools
  7. from pisi.actionsapi import get
  8. from pisi.actionsapi import kde5
  9. from pisi.actionsapi import pisitools
  10. def setup():
  11. kde5.configure("-DR_HOME=/usr/lib/R")
  12. def build():
  13. kde5.make()
  14. def install():
  15. #for installing rbackend mkdir needed directory(for R-2.5.0)
  16. pisitools.dodir("/usr/lib/R/library")
  17. kde5.install()
  18. # TODO: this one seems better than the one in kdelibs
  19. #pisitools.remove("/usr/share/kde4/apps/katepart/syntax/r.xml")