exa.paketlendi

This commit is contained in:
milisbir 2017-10-28 20:24:12 +03:00
parent a752b48be7
commit 69d9249eaf
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# Tanım: unix ls Rust yeniden yazılmışı
# URL: https://github.com/ogham/exa
# Paketçi: milisarge
# Gerekler: cmake rust cargo libssh2
isim=exa
surum=0.7.0
devir=1
kaynak=(https://github.com/ogham/exa/archive/v$surum.zip::$isim-$surum.zip)
derle() {
cd "${SRC}/${isim}-${surum}"
make
install -Dm755 "${SRC}/${isim}-${surum}"/target/release/${isim} \
"${PKG}"/usr/bin/${isim}
install -Dm644 "${SRC}/${isim}-${surum}"/contrib/man/${isim}.1 \
"${PKG}"/usr/share/man/man1/${isim}.1
install -Dm644 "${SRC}/${isim}-${surum}"/contrib/completions.bash \
"${PKG}"/usr/share/bash-completion/completions/${isim}
install -Dm644 "${SRC}/${isim}-${surum}"/contrib/completions.zsh \
"${PKG}"/usr/share/zsh/site-functions/_${isim}
}