milis/talimatname/genel/b/bleachbit/talimat

24 lines
638 B
Plaintext
Raw Normal View History

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