void-packages/srcpkgs/nnn/template
2020-05-26 15:16:10 +00:00

25 lines
840 B
Bash

# Template file for 'nnn'
pkgname=nnn
version=3.2
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="ncurses-devel readline-devel"
short_desc="Missing terminal file browser for X"
maintainer="Dennis Kraus <kraus@posteo.de>"
license="BSD-2-Clause"
homepage="https://github.com/jarun/nnn"
changelog="https://raw.githubusercontent.com/jarun/nnn/master/CHANGELOG"
distfiles="https://github.com/jarun/nnn/archive/v${version}.tar.gz"
checksum=4ebbd024776153ecb79c75d1a58fc5cd7cd168c6e8217100b5edf322fdf9d4fd
post_install() {
vinstall misc/auto-completion/bash/nnn-completion.bash 644 \
usr/share/bash-completion/completions nnn
vinstall misc/auto-completion/zsh/_nnn 644 \
usr/share/zsh/site-functions
vinstall misc/auto-completion/fish/nnn.fish 644 \
usr/share/fish/vendor_completions.d
vlicense LICENSE
}