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

34 lines
774 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Bash tamamlama fonksiyonları
2016-02-24 01:27:23 +01:00
# URL: http://bash-completion.alioth.debian.org/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler:
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=bash-completion
surum=2.1
devir=1
kaynak=(https://launchpad.net/$isim/master/$surum/+download/$isim-$surum.tar.gz)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2016-02-24 01:27:23 +01:00
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,}
2017-10-28 14:10:23 +02:00
chmod 0755 $PKG/usr/share/$isim/bash_completion
2016-02-24 01:27:23 +01:00
# 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
}