talimat 782 B

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