bleachbit.

This commit is contained in:
4fury-c3440d8
2021-04-29 22:08:50 +03:00
parent 866f4a22cc
commit b8a2e65e40
3 changed files with 88 additions and 81 deletions
+6 -12
View File
@@ -4,21 +4,15 @@
# 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 setup():
pass
def build():
pythonmodules.compile()
pass
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')
shelltools.system("make prefix=/usr DESTDIR=%s install" % get.installDIR())