add new packages bleachbit,eboard,gnuchess,gnuchess-book.gweled,pogo

This commit is contained in:
groni
2016-12-04 21:56:13 +01:00
parent b8476830d9
commit 742bedc8ac
32 changed files with 2113 additions and 42 deletions
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def build():
pythonmodules.compile()
def install():
pythonmodules.install()
for lc in shelltools.ls("po/*.po"): pisitools.domo(lc, lc[3:-3], 'bleachbit.mo')
shelltools.chmod('%s/usr/lib/python2.7/site-packages/bleachbit/CLI.py' % get.installDIR(), mode = 0755)
pisitools.dosym('/usr/lib/python2.7/site-packages/bleachbit/CLI.py', '/usr/bin/bleachbit_cli')
shelltools.chmod('%s/usr/lib/python2.7/site-packages/bleachbit/GUI.py' % get.installDIR(), mode = 0755)
pisitools.dosym('/usr/lib/python2.7/site-packages/bleachbit/GUI.py', '/usr/bin/bleachbit')
pisitools.insinto('/usr/share/applications/', 'bleachbit.desktop')
pisitools.insinto('/usr/share/pixmaps/', 'bleachbit.png')
pisitools.insinto('/usr/share/bleachbit/cleaners', 'cleaners/*.xml')