nnn: update to 4.1.1

This commit is contained in:
FollieHiyuki 2021-06-02 18:54:09 +03:00 committed by Érico Nogueira Rolim
parent 5c4a31be2a
commit e4a8d107e9
1 changed files with 13 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'nnn' # Template file for 'nnn'
pkgname=nnn pkgname=nnn
version=4.0 version=4.1.1
revision=2 revision=1
build_style=gnu-makefile build_style=gnu-makefile
make_install_target="install install-desktop" make_install_target="install install-desktop"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
@ -12,7 +12,17 @@ license="BSD-2-Clause"
homepage="https://github.com/jarun/nnn" homepage="https://github.com/jarun/nnn"
changelog="https://raw.githubusercontent.com/jarun/nnn/master/CHANGELOG" changelog="https://raw.githubusercontent.com/jarun/nnn/master/CHANGELOG"
distfiles="https://github.com/jarun/nnn/archive/v${version}.tar.gz" distfiles="https://github.com/jarun/nnn/archive/v${version}.tar.gz"
checksum=a219ec8fad3dd0512aadae5840176f3265188c4c22da3b17b133bac602b40754 checksum=f0e02668da6324c12c39db35fe5c26bd45f3e02e5684a351b8ce8a357419ceba
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-fts-devel"
fi
pre_build() {
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
export LDLIBS=-lfts
fi
}
post_install() { post_install() {
vinstall misc/auto-completion/bash/nnn-completion.bash 644 \ vinstall misc/auto-completion/bash/nnn-completion.bash 644 \