2017-10-31 01:47:22 +01:00
|
|
|
|
# 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
|
2017-12-22 23:19:06 +01:00
|
|
|
|
# Grup: sistem
|
2017-10-31 01:47:22 +01:00
|
|
|
|
|
|
|
|
|
isim=bleachbit
|
|
|
|
|
surum=1.12
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(https://downloads.sourceforge.net/$isim/$isim-$surum.tar.bz2)
|
2017-12-22 23:19:06 +01:00
|
|
|
|
|
2017-10-31 01:47:22 +01:00
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
}
|