milis/talimatname/genel/f/fslint/talimat

31 lines
1.4 KiB
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: FSlint gereksiz/şüpheli disk kullanımını bulmak için bir araçtır.
# URL: http://www.pixelbeat.org/fslint/
# Paketçi: yasarciv milisarge
# Gerekler: python python-gtk
# Grup: sistem
isim=fslint
surum=2.44
devir=1
kaynak=("http://www.pixelbeat.org/$isim/$isim-$surum.tar.gz")
derle() {
cd "${isim}-${surum}"
sed -i -e s_^liblocation=.*_liblocation=\'/usr/share/fslint\'_ fslint-gui
install -d "${PKG}"/usr/share/$isim/fslint/{fstool,supprt/rmlint}
install -D -m755 -t "${PKG}"/usr/share/$isim/$isim $isim/find* $isim/zipdir $isim/fslint
install -D -m755 -t "${PKG}"/usr/share/$isim/$isim/fstool $isim/fstool/*
install -D -m755 -t "${PKG}"/usr/share/$isim/$isim/supprt $isim/supprt/get* $isim/supprt/fslver $isim/supprt/md5sum_approx
install -D -m755 -t "${PKG}"/usr/share/$isim/$isim/supprt/rmlint fslint/supprt/rmlint/*
install -D -m755 $isim-gui "${PKG}"/usr/bin/$isim-gui
install -D -m644 $isim.glade "${PKG}"/usr/share/$isim/$isim.glade
install -D -m644 $isim.desktop "${PKG}"/usr/share/applications/$isim.desktop
install -D -m644 fslint_icon.png "${PKG}"/usr/share/$isim/fslint_icon.png
mkdir -p "${PKG}"/usr/share/pixmaps
ln -s /usr/share/$isim/fslint_icon.png "${PKG}"/usr/share/pixmaps/fslint_icon.png
make -C po DESTDIR="${PKG}" install
mkdir -p "${PKG}"/usr/share/fslint/po
cp -r po/locale "${PKG}"/usr/share/fslint/po/
}