void-packages/srcpkgs/nnn/template
2019-12-06 11:08:40 +01:00

25 lines
833 B
Bash

# Template file for 'nnn'
pkgname=nnn
version=2.8.1
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=cadf9cf8038433aeeb50a777180ad4b309ac7d2fec81c7da177ddca515812f06
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/completions
vlicense LICENSE
}