milis/talimatname/genel/bash-completion/talimat

34 lines
791 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.

# Description: Bash tamamlama fonksiyonları
# URL: http://bash-completion.alioth.debian.org/
# Packager: milisarge
# Depends on:
name=bash-completion
version=2.1
release=1
source=(https://launchpad.net/$name/master/$version/+download/$name-$version.tar.gz)
build() {
cd $name-$version
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/$name/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
}