Bleachbit paketi
This commit is contained in:
parent
3645823b78
commit
6548b9c2fb
1 changed files with 23 additions and 0 deletions
23
talimatname/genel/b/bleachbit/talimat
Normal file
23
talimatname/genel/b/bleachbit/talimat
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Tanım: Gereksiz dosyaları silerek diskte yer açar.
|
||||
# URL: https://www.bleachbit.org/
|
||||
# Paketçi: halityilmaz1982
|
||||
# Gerekler: python-gtk desktop-file-utils gtk-update-icon-cache hicolor-icon-theme
|
||||
|
||||
isim=bleachbit
|
||||
surum=1.12
|
||||
devir=1
|
||||
|
||||
kaynak=(https://downloads.sourceforge.net/$isim/$isim-$surum.tar.bz2)
|
||||
|
||||
derle() {
|
||||
cd $isim-$surum
|
||||
|
||||
for file in $(find . -name '*.py' -print); do
|
||||
sed -i -e 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' \
|
||||
-e 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' "$file"
|
||||
done
|
||||
sed -i 's/python/python2/g' Makefile
|
||||
|
||||
make prefix=/usr DESTDIR="$PKG" PYTHON=python2 install
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue