milis/talimatname/genel/b/bleachbit/talimat

24 lines
638 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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
}