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