1
0
forked from ports/contrib

nnn: 3.4 -> 3.5

This commit is contained in:
Tim Biermann 2020-11-18 14:46:02 +00:00
parent bf35ce33d6
commit 3de7035f9e
3 changed files with 17 additions and 10 deletions

View File

@ -96,7 +96,9 @@ drwxr-xr-x root/root usr/share/nnn/quitcd/
-rw-r--r-- root/root usr/share/nnn/quitcd/quitcd.csh
-rw-r--r-- root/root usr/share/nnn/quitcd/quitcd.fish
drwxr-xr-x root/root usr/share/nnn/test/
-rwxr-xr-x root/root usr/share/nnn/test/benchmark.sh
-rwxr-xr-x root/root usr/share/nnn/test/genfiles.sh
-rwxr-xr-x root/root usr/share/nnn/test/mktest.sh
-rwxr-xr-x root/root usr/share/nnn/test/plot-bench.py
drwxr-xr-x root/root usr/share/nnn/zsh/
-rw-r--r-- root/root usr/share/nnn/zsh/_nnn

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3/cGo8KBIncjqvoZ/Fec2hERY5WwVuaa9CPqeuc08yqhC5lMBa7XxpY76VMhKbcq0+5QNZ3EFvgrLuceqPwhMQU=
SHA256 (Pkgfile) = 4e648c0324a280574c859253ee58585fdc83095f0fefd38f0f01a11c6f8cb775
SHA256 (.footprint) = 9ef88ac8f89c69476b5a438efb45d3d2ab761e4455d10d7fae9367ddf1346e94
SHA256 (nnn-v3.4.tar.gz) = 7803ae6e974aeb4008507d9d1afbcca8d084a435f36ff636b459ca50414930a1
RWSagIOpLGJF39gMALc7gV9dUN5bGH/Zc0jCPEDhQXIsnHJLPUTpRWyp9+5dN46ScQla7l1Cga9i9jyJKVT9u48WXrWzFPkyUQc=
SHA256 (Pkgfile) = 27c1b938d405216f7a4f53a767efe790412ff739b1bcd67802737705a5864de3
SHA256 (.footprint) = 4bab0f7db5013a4f7184121a648334c57d2a916e64525ae4da78be299fb40256
SHA256 (nnn-v3.5.tar.gz) = e636d4035499a112a0ad33f1557838132ed2e39d8857c5b219714fe9f64681f3

View File

@ -2,20 +2,25 @@
# URL: https://github.com/jarun/nnn
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: ncurses readline
# Optional: patool mediainfo
# Optional: patool mediainfo icons-in-terminal
name=nnn
version=3.4
version=3.5
release=1
source=(https://github.com/jarun/nnn/releases/download/v$version/$name-v$version.tar.gz)
build() {
cd $name-$version
sed -i 's/install: all/install:/' Makefile
make
make DESTDIR=$PKG PREFIX=/usr install
mkdir $PKG/usr/share/nnn
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'
make $PKGMK_NNN
make DESTDIR=$PKG PREFIX=/usr install
mkdir $PKG/usr/share/nnn
# install provided scripts and plugins to $PKG/usr/share
pushd misc
for i in $(find . -type d | xargs) ; do