exa: 0.9.0 -> 0.10.0

This commit is contained in:
Tim Biermann 2021-04-10 08:38:58 +00:00
parent 9c1c78bb99
commit 7817a558fb
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 8 additions and 13 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3xJefYdztt1ifdUJ4jbcWEcbcnDVpagqGLEn8Zvdd/r/0kX+q9YEre6FNHud8sXYjKrewKfPXVwNVTtlSqLNiwk=
SHA256 (Pkgfile) = e670bdb74ff13ed7723fe11ad0968d871753f6ed586492b29eb7c49a4034e769
RWSagIOpLGJF3wirLWRQKfcz7zhEYm7OsAGIFkDMeHE19EX3rP5Hxxz0BQTHDen/vZ77UR4UoevU9pWdKYpL/pYIjSORKN8LWgI=
SHA256 (Pkgfile) = fe8a64cc58ba9b8b6c6f6a284b38d8679ce242d33a392c6792718f52e89071ab
SHA256 (.footprint) = bc31d95b8c11ef950831c0aaa1721d3a40aa918182ea44bd94d88b9b212d02d6
SHA256 (exa-0.9.0.tar.gz) = 96e743ffac0512a278de9ca3277183536ee8b691a46ff200ec27e28108fef783
SHA256 (exa-0.10.0.tar.gz) = 27420f7b805941988399d63f388be4f6077eee94a505bf01c2fb0e7d15cbf78d

View File

@ -4,7 +4,7 @@
# Depends on: rust
name=exa
version=0.9.0
version=0.10.0
release=1
source=(https://github.com/ogham/exa/archive/v$version/$name-$version.tar.gz)
@ -18,13 +18,8 @@ build() {
cargo build --release --locked --manifest-path $name-$version/Cargo.toml
install -Dt $PKG/usr/bin $name-$version/target/release/exa
# install auto-completion files if the ports for it are installed
if [ -e /usr/bin/zsh ]; then
install -Dm644 $name-$version/contrib/completions.zsh \
$PKG/usr/share/zsh/site-functions/_$name
fi
if [ -e /usr/lib/pkgconfig/bash-completion.pc ]; then
install -Dm644 $name-$version/contrib/completions.bash \
$PKG/usr/share/bash-completion/completions/$name
fi
prt-get isinst bash-completion && install -Dm644 $name-$version/completions/completions.bash \
$PKG/usr/share/bash-completion/completions/$name || true
prt-get isinst zsh && install -Dm644 $name-$version/completions/completions.zsh \
$PKG/usr/share/zsh/site-functions/_$name || true
}