milis/talimatname/genel/b/bash-completion/talimat

34 lines
774 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: Bash tamamlama fonksiyonları
# URL: http://bash-completion.alioth.debian.org/
# Paketçi: milisarge
# Gerekler:
isim=bash-completion
surum=2.1
devir=1
kaynak=(https://launchpad.net/$isim/master/$surum/+download/$isim-$surum.tar.gz)
derle() {
cd $isim-$surum
sed -i Makefile.* \
-e 's|pkgconfigdir = .*|pkgconfigdir = /usr/lib/pkgconfig|g' \
-e 's|profiledir = .*|profiledir = /etc|g'
./configure --prefix=/usr --sysconfdir=/etc
make
make DESTDIR=$PKG install
mv $PKG/etc/bash_completion{.sh,}
chmod 0755 $PKG/usr/share/$isim/bash_completion
# files allready installed
for FILE in cal dmesg eject hexdump hwclock ionice look renice rtcwake
do
rm $PKG/usr/share/bash-completion/completions/$FILE
done
}