12345678910111213141516171819202122232425262728 |
- #!/usr/bin/python
- # -*- coding: utf-8 -*-
- # Licensed under the GNU General Public License, version 3.
- # See the file http://www.gnu.org/copyleft/gpl.txt
- from pisi.actionsapi import shelltools
- from pisi.actionsapi import get
- from pisi.actionsapi import pisitools
- from pisi.actionsapi import autotools
- Workdir="."
- #def setup():
- #autotools.configure("--disable-static")
- #def build():
- #autotools.make()
- def install():
- pisitools.dodir("/usr/bin")
- pisitools.dodir("/usr/lib/zotero")
- #pisitools.dosed("run-zotero.sh", "MOZ_PROGRAM=", "MOZ_PROGRAM=/usr/lib/zotero/zotero")
- pisitools.insinto("/usr/lib/zotero/", "*")
- pisitools.dosym("/usr/lib/zotero/zotero", "/usr/bin/zotero")
- #Zotero_linux-x86_64
- # Copy zotero icons to a standard location
- pisitools.domove("/usr/lib/zotero/chrome/icons/default/default16.png", "/usr/share/icons/hicolor/16x16/apps/zotero.png")
- pisitools.domove("/usr/lib/zotero/chrome/icons/default/default32.png", "/usr/share/icons/hicolor/32x32/apps/zotero.png")
- pisitools.domove("/usr/lib/zotero/chrome/icons/default/default48.png", "/usr/share/icons/hicolor/48x48/apps/zotero.png")
|