[crux-commits] ports/contrib (3.6): nnn: 3.5 -> 3.6

crux at crux.nu crux at crux.nu
Mon Mar 15 20:28:14 UTC 2021


commit 04296269ca6c85006c04842fd13fa79630e3596b
Author: Tim Biermann <tbier at posteo.de>
Date:   Mon Mar 15 20:23:02 2021 +0000

    nnn: 3.5 -> 3.6

diff --git a/nnn/.footprint b/nnn/.footprint
index 452b85e25..d31724f60 100644
--- a/nnn/.footprint
+++ b/nnn/.footprint
@@ -22,7 +22,6 @@ drwxr-xr-x	root/root	usr/share/nnn/fish/
 drwxr-xr-x	root/root	usr/share/nnn/haiku/
 -rw-r--r--	root/root	usr/share/nnn/haiku/Makefile
 -rw-r--r--	root/root	usr/share/nnn/haiku/haiku_interop.h
--rw-r--r--	root/root	usr/share/nnn/haiku/logo.hvif
 -rw-r--r--	root/root	usr/share/nnn/haiku/nm.cpp
 -rw-r--r--	root/root	usr/share/nnn/haiku/nnn-master.recipe
 -rw-r--r--	root/root	usr/share/nnn/haiku/nnn.rdef
@@ -79,11 +78,13 @@ drwxrwxr-x	root/root	usr/share/nnn/plugins/
 -rwxrwxr-x	root/root	usr/share/nnn/plugins/picker
 -rwxrwxr-x	root/root	usr/share/nnn/plugins/preview-tabbed
 -rwxrwxr-x	root/root	usr/share/nnn/plugins/preview-tui
+-rwxrwxr-x	root/root	usr/share/nnn/plugins/preview-tui-ext
 -rwxrwxr-x	root/root	usr/share/nnn/plugins/pskill
 -rwxrwxr-x	root/root	usr/share/nnn/plugins/renamer
 -rwxrwxr-x	root/root	usr/share/nnn/plugins/ringtone
 -rwxrwxr-x	root/root	usr/share/nnn/plugins/splitjoin
 -rwxrwxr-x	root/root	usr/share/nnn/plugins/suedit
+-rwxrwxr-x	root/root	usr/share/nnn/plugins/togglex
 -rwxrwxr-x	root/root	usr/share/nnn/plugins/treeview
 -rwxrwxr-x	root/root	usr/share/nnn/plugins/uidgid
 -rwxrwxr-x	root/root	usr/share/nnn/plugins/upgrade
diff --git a/nnn/.signature b/nnn/.signature
index 3af9d8493..e4f64e27d 100644
--- a/nnn/.signature
+++ b/nnn/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF39gMALc7gV9dUN5bGH/Zc0jCPEDhQXIsnHJLPUTpRWyp9+5dN46ScQla7l1Cga9i9jyJKVT9u48WXrWzFPkyUQc=
-SHA256 (Pkgfile) = 27c1b938d405216f7a4f53a767efe790412ff739b1bcd67802737705a5864de3
-SHA256 (.footprint) = 4bab0f7db5013a4f7184121a648334c57d2a916e64525ae4da78be299fb40256
-SHA256 (nnn-v3.5.tar.gz) = e636d4035499a112a0ad33f1557838132ed2e39d8857c5b219714fe9f64681f3
+RWSagIOpLGJF3xdHTSC2UbfcIBYL0wW8R4mpza3TpG+d5HmxYWLa++lLv5a6gnygCU1+bOHY69M5ZkxlSUaTeWV0acl7Upq7Ng0=
+SHA256 (Pkgfile) = 76d3e0f913de10e97dd211b982df993d65684b8d17f810ab7aff1bd4f1ec2ea6
+SHA256 (.footprint) = fc39cce8d117ff299d20e2186e38e0e14855ad714bfc4450866f30ec014fd33a
+SHA256 (nnn-v3.6.tar.gz) = 875094caebcc22ecf53b3722d139b127d25e1d5563a954342f32ded8980978b5
diff --git a/nnn/Pkgfile b/nnn/Pkgfile
index 9841c23bd..154ed2ab5 100644
--- a/nnn/Pkgfile
+++ b/nnn/Pkgfile
@@ -5,7 +5,7 @@
 # Optional: patool mediainfo icons-in-terminal
 
 name=nnn
-version=3.5
+version=3.6
 release=1
 source=(https://github.com/jarun/nnn/releases/download/v$version/$name-v$version.tar.gz)
 
@@ -30,14 +30,10 @@ build() {
   mv plugins $PKG/usr/share/nnn
 
   # install auto-completion files if the ports for it are installed
-  if [ -e /usr/share/zsh ]; then
-    install -Dm644 $PKG/usr/share/nnn/zsh/_nnn \
-      $PKG/usr/share/zsh/site-functions/_nnn
-  fi
-  if [ -e /usr/lib/pkgconfig/bash-completion.pc ]; then
-    install -Dm644 $PKG/usr/share/nnn/bash/nnn-completion.bash \
-      $PKG/usr/share/bash-completion/completions/nnn
-  fi
+  prt-get isinst zsh && install -Dm644 $PKG/usr/share/nnn/zsh/_nnn \
+    $PKG/usr/share/zsh/site-functions/_nnn
+  prt-get isinst bash-completion && install -Dm644 $PKG/usr/share/nnn/bash/nnn-completion.bash \
+    $PKG/usr/share/bash-completion/completions/nnn
   # fish is not in core/opt/contrib, but the script get's installed to
 
   find $PKG \(\


More information about the crux-commits mailing list