milis/talimatname/genel/f/fslint/talimat

30 lines
1.3 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: FSlint gereksiz / şüpheli disk kullanımını bulmak için bir araçtır.
2016-10-14 03:25:55 +02:00
# URL: http://www.pixelbeat.org/fslint/
2017-10-27 20:46:27 +02:00
# Paketçi: yasarciv milisarge
# Gerekler: python python-gtk
2016-10-14 03:25:55 +02:00
2017-10-28 14:10:23 +02:00
isim=fslint
surum=2.44
devir=1
kaynak=("http://www.pixelbeat.org/$isim/$isim-$surum.tar.gz")
2016-10-14 03:25:55 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd "${isim}-${surum}"
2016-10-14 03:25:55 +02:00
sed -i -e s_^liblocation=.*_liblocation=\'/usr/share/fslint\'_ fslint-gui
2017-10-28 14:10:23 +02:00
install -d "${PKG}"/usr/share/$isim/fslint/{fstool,supprt/rmlint}
2016-10-14 03:25:55 +02:00
2017-10-28 14:10:23 +02:00
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
2016-10-14 03:25:55 +02:00
mkdir -p "${PKG}"/usr/share/pixmaps
2017-10-28 14:10:23 +02:00
ln -s /usr/share/$isim/fslint_icon.png "${PKG}"/usr/share/pixmaps/fslint_icon.png
2016-10-14 03:25:55 +02:00
make -C po DESTDIR="${PKG}" install
2016-10-15 03:32:30 +02:00
mkdir -p "${PKG}"/usr/share/fslint/po
cp -r po/locale "${PKG}"/usr/share/fslint/po/
2016-10-14 03:25:55 +02:00
}