diff --git a/srcpkgs/nnn/template b/srcpkgs/nnn/template index 7d905198b74..11ad969d0fd 100644 --- a/srcpkgs/nnn/template +++ b/srcpkgs/nnn/template @@ -1,7 +1,7 @@ # Template file for 'nnn' pkgname=nnn -version=4.0 -revision=2 +version=4.1.1 +revision=1 build_style=gnu-makefile make_install_target="install install-desktop" hostmakedepends="pkg-config" @@ -12,7 +12,17 @@ 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=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() { vinstall misc/auto-completion/bash/nnn-completion.bash 644 \