talimat 751 B

12345678910111213141516171819202122
  1. # Tanım: X için terminal dosya yöneticisi.
  2. # URL: https://github.com/jarun/nnn
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. # Grup: sistem
  6. isim=nnn
  7. surum=2.2
  8. devir=1
  9. kaynak=(https://github.com/jarun/nnn/archive/v${surum//_/-}.tar.gz::$isim-$surum.tar.gz)
  10. derle() {
  11. cd $isim-$surum
  12. sed -i 's/install: all/install:/' Makefile
  13. make
  14. make DESTDIR="$PKG" PREFIX=/usr install
  15. install -Dm644 scripts/auto-completion/fish/nnn.fish "$PKG"/usr/share/fish/vendor_completions.d/nnn.fish
  16. install -Dm644 scripts/auto-completion/bash/nnn-completion.bash "$PKG"/usr/share/bash-completion/completions/nnn
  17. install -Dm644 scripts/auto-completion/zsh/_nnn "$PKG"/usr/share/zsh/site-functions/_nnn
  18. install -Dm644 LICENSE "$PKG"/usr/share/licenses/$isim/LICENSE
  19. }