talimat 791 B

12345678910111213141516171819202122232425262728293031323334
  1. # Description: Bash tamamlama fonksiyonları
  2. # URL: http://bash-completion.alioth.debian.org/
  3. # Packager: milisarge
  4. # Depends on:
  5. name=bash-completion
  6. version=2.1
  7. release=1
  8. source=(https://launchpad.net/$name/master/$version/+download/$name-$version.tar.gz)
  9. build() {
  10. cd $name-$version
  11. sed -i Makefile.* \
  12. -e 's|pkgconfigdir = .*|pkgconfigdir = /usr/lib/pkgconfig|g' \
  13. -e 's|profiledir = .*|profiledir = /etc|g'
  14. ./configure --prefix=/usr --sysconfdir=/etc
  15. make
  16. make DESTDIR=$PKG install
  17. mv $PKG/etc/bash_completion{.sh,}
  18. chmod 0755 $PKG/usr/share/$name/bash_completion
  19. # files allready installed
  20. for FILE in cal dmesg eject hexdump hwclock ionice look renice rtcwake
  21. do
  22. rm $PKG/usr/share/bash-completion/completions/$FILE
  23. done
  24. }