forked from ports/contrib
nnn: 2.7 -> 2.8
This commit is contained in:
parent
acae19aaa5
commit
6fcb48c340
@ -13,8 +13,12 @@ drwxr-xr-x root/root usr/share/nnn/auto-completion/fish/
|
||||
-rw-r--r-- root/root usr/share/nnn/auto-completion/fish/nnn.fish
|
||||
drwxr-xr-x root/root usr/share/nnn/auto-completion/zsh/
|
||||
-rw-r--r-- root/root usr/share/nnn/auto-completion/zsh/_nnn
|
||||
drwxr-xr-x root/root usr/share/nnn/bash/
|
||||
-rw-r--r-- root/root usr/share/nnn/bash/nnn-completion.bash
|
||||
drwxr-xr-x root/root usr/share/nnn/clipboard-copier/
|
||||
-rwxr-xr-x root/root usr/share/nnn/clipboard-copier/copier
|
||||
drwxr-xr-x root/root usr/share/nnn/fish/
|
||||
-rw-r--r-- root/root usr/share/nnn/fish/nnn.fish
|
||||
drwxr-xr-x root/root usr/share/nnn/natool/
|
||||
-rwxr-xr-x root/root usr/share/nnn/natool/natool
|
||||
drwxr-xr-x root/root usr/share/nnn/nlaunch/
|
||||
@ -22,32 +26,51 @@ drwxr-xr-x root/root usr/share/nnn/nlaunch/
|
||||
drwxr-xr-x root/root usr/share/nnn/nlay/
|
||||
-rwxr-xr-x root/root usr/share/nnn/nlay/nlay
|
||||
-rw-r--r-- root/root usr/share/nnn/nlay/nlay.1
|
||||
drwxr-xr-x root/root usr/share/nnn/packagecore/
|
||||
-rw-r--r-- root/root usr/share/nnn/packagecore/packagecore.yaml
|
||||
drwxrwxr-x root/root usr/share/nnn/plugins/
|
||||
-rw-rw-r-- root/root usr/share/nnn/plugins/.nnn-plugin-helper
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/boom
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/checksum
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/fzy-open
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/chksum
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/diffs
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/dragdrop
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/dups
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/exetoggle
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/fzcd
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/fzhist
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/fzopen
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/getplugs
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/gutenread
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/hexview
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/imgresize
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/imgsxiv
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/imgthumb
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/imgur
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/imgviu
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/ipinfo
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/kdeconnect
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/mediainf
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/moclyrics
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/mocplay
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/ndiff
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/nmount
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/nwal
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/notes
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/oldbigfile
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/organize
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/pastebin
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/pdfread
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/pdfview
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/picker
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/pywal
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/readit
|
||||
-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/sxiv
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/thumb
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/suedit
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/transfer
|
||||
-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
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/viuimg
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/vidthumb
|
||||
-rwxrwxr-x root/root usr/share/nnn/plugins/wall
|
||||
drwxr-xr-x root/root usr/share/nnn/quitcd/
|
||||
-rw-r--r-- root/root usr/share/nnn/quitcd/quitcd.bash
|
||||
-rw-r--r-- root/root usr/share/nnn/quitcd/quitcd.csh
|
||||
@ -55,3 +78,5 @@ drwxr-xr-x root/root usr/share/nnn/quitcd/
|
||||
-rw-r--r-- root/root usr/share/nnn/quitcd/quitcd.zsh
|
||||
drwxr-xr-x root/root usr/share/nnn/test/
|
||||
-rwxr-xr-x root/root usr/share/nnn/test/mktest.sh
|
||||
drwxr-xr-x root/root usr/share/nnn/zsh/
|
||||
-rw-r--r-- root/root usr/share/nnn/zsh/_nnn
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF38NK2IRaxBsgLoRbQmald2IS4qviOk9tr4/LvwH3TqDEfk1VmCG10NcWtXjXX7U5sl+4YELV+kvQKPgMqOaxqwg=
|
||||
SHA256 (Pkgfile) = 80da2d1966985a768e9111cea471c19102320008dd0ce19ae0c67fa10e0db7b6
|
||||
SHA256 (.footprint) = a43f63a04552d1301181e6561c0cbd65cf7ef228bea9f0d832fa60fdf5943a9b
|
||||
SHA256 (nnn-v2.7.tar.gz) = e5ed218fcf5b92316f1f509dbe663b961d2a2a7629e982124379e8c3630870f3
|
||||
RWSagIOpLGJF39LyXco7i7fwrZke0IZ+S+lWRqMpFetF8OopZpEJrMguXKRpqVbl3ezttSUH4KUFjRXe6T223XF3qytk5GjM2go=
|
||||
SHA256 (Pkgfile) = 01a8939d8c09f34db62ac658aaf93a5625b44bbf2d156102076a3019b9e4a3db
|
||||
SHA256 (.footprint) = b5c95ed92df6aaeff895bf270c19a828798d34a96d6c7f835672d963870907aa
|
||||
SHA256 (nnn-v2.8.tar.gz) = 029ac651d8c45ba7b6f1a3dd284cd59168fe5f254422cf613315ed6b2649f18e
|
||||
|
26
nnn/Pkgfile
26
nnn/Pkgfile
@ -5,7 +5,7 @@
|
||||
# Optional: patool mediainfo
|
||||
|
||||
name=nnn
|
||||
version=2.7
|
||||
version=2.8
|
||||
release=1
|
||||
source=(https://github.com/jarun/nnn/releases/download/v$version/$name-v$version.tar.gz)
|
||||
|
||||
@ -16,20 +16,26 @@ build() {
|
||||
make DESTDIR=$PKG PREFIX=/usr install
|
||||
mkdir $PKG/usr/share/nnn
|
||||
|
||||
# install auto-completion files if the ports for it are installed
|
||||
if [ -e /lib/zsh ]; then
|
||||
install -Dm644 misc/auto-completion/zsh/_nnn $PKG/usr/share/zsh/site-functions/_nnn
|
||||
fi
|
||||
if [ -e /usr/share/bash-completion ]; then
|
||||
install -Dm644 misc/auto-completion/bash/nnn-completion.bash $PKG/usr/share/bash-completion/completions/nnn
|
||||
fi
|
||||
# fish is not in core/opt/contrib so I'll ignore it
|
||||
# install provided scripts and plugins to $PKG/usr/share
|
||||
pushd misc
|
||||
for i in $(find . -type d -not -path "./auto-completion*" | xargs) ; do
|
||||
for i in $(find . -type d | xargs) ; do
|
||||
cp -r $i $PKG/usr/share/nnn;
|
||||
done
|
||||
popd
|
||||
mv plugins $PKG/usr/share/nnn
|
||||
|
||||
# install auto-completion files if the ports for it are installed
|
||||
if [ -e /lib/zsh ]; then
|
||||
mkdir -p $PKG/usr/share/zsh/site-functions/
|
||||
ln -s /usr/share/nnn/auto-completions/zsh/_nnn \
|
||||
$PKG/usr/share/zsh/site-functions/_nnn
|
||||
fi
|
||||
if [ -e /usr/share/bash-completion ]; then
|
||||
mkdir -p $PKG/usr/share/bash-completion/completions
|
||||
ln -s /usr/share/nnn/auto-completion/bash/nnn-completion.bash \
|
||||
$PKG/usr/share/bash-completion/completions/nnn
|
||||
fi
|
||||
# fish is not in core/opt/contrib, but the script get's installed to
|
||||
|
||||
find $PKG -name README.md -delete
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user