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

crux at crux.nu crux at crux.nu
Tue Apr 13 20:27:33 UTC 2021


commit 48b2509a71aef8c4b5e442009f4d519e24849f2c
Author: Tim Biermann <tbier at posteo.de>
Date:   Tue Apr 13 20:16:56 2021 +0000

    nnn: 3.7 -> 4.0

diff --git a/nnn/.signature b/nnn/.signature
index 61059cd7f..f682d555f 100644
--- a/nnn/.signature
+++ b/nnn/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF33nysYefNKnODPGED1VEqDk7zQKHvLRRBhre+7o8Pc3gcUAXxl1nxb7KdVPjpT/f04EaxXmO6rxBgY9hzuw8ZQk=
-SHA256 (Pkgfile) = 392ad68f0457e639fdea77957fa976686b0c04a15117772407c90369cfd56397
+RWSagIOpLGJF37RIfU5Q2KhMOB1C0/Qkjl2tCH9W5t/t6YNWm80wHrBLm4nsI83bJj9yBu8Q3hS5A0jMkRnJtwkDV8ev1rQOEgA=
+SHA256 (Pkgfile) = 863018f18084fc92aa231e6d8b376a814b402d7bd534826174fbe33e1894793c
 SHA256 (.footprint) = 7a97e38f03b274ce7d0343265fa4b19272de60ab40d2b35f95ba64441a3fb58c
-SHA256 (nnn-v3.7.tar.gz) = 7c330886e889ede19a6ceed274fed7d10cde58315e67f81fe3c2d7d7d49f657f
+SHA256 (nnn-v4.0.tar.gz) = a219ec8fad3dd0512aadae5840176f3265188c4c22da3b17b133bac602b40754
diff --git a/nnn/Pkgfile b/nnn/Pkgfile
index 72a714316..3827c9562 100644
--- a/nnn/Pkgfile
+++ b/nnn/Pkgfile
@@ -5,7 +5,7 @@
 # Optional: patool mediainfo icons-in-terminal
 
 name=nnn
-version=3.7
+version=4.0
 release=1
 source=(https://github.com/jarun/nnn/releases/download/v$version/$name-v$version.tar.gz)
 
@@ -15,7 +15,7 @@ build() {
   sed -i 's/install: all/install:/' Makefile
 
   # build with icons support if contrib/icons-in-terminal is installed
-  [[ -e /usr/share/icons-in-terminal ]] && PKGMK_NNN=' O_ICONS=1'
+  prt-get isinst icons-in-terminal && PKGMK_NNN+=' O_ICONS=1'
 
   make $PKGMK_NNN
   make DESTDIR=$PKG PREFIX=/usr install


More information about the crux-commits mailing list