[crux-commits] ports/contrib (refs/remotes/origin/3.6): exa: 0.9.0 -> 0.10.0

crux at crux.nu crux at crux.nu
Sat Apr 10 19:05:39 UTC 2021


commit 7817a558fbadf6e489f6ad3567843089fd8edbfb
Author: Tim Biermann <tbier at posteo.de>
Date:   Sat Apr 10 08:38:58 2021 +0000

    exa: 0.9.0 -> 0.10.0

diff --git a/exa/.signature b/exa/.signature
index 048330edc..7b305b245 100644
--- a/exa/.signature
+++ b/exa/.signature
@@ -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
diff --git a/exa/Pkgfile b/exa/Pkgfile
index ca1856aa7..7ca4a7a1f 100644
--- a/exa/Pkgfile
+++ b/exa/Pkgfile
@@ -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
 }


More information about the crux-commits mailing list