From 6a87344234874e80ff76222201dc5c2217280a64 Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Wed, 2 Jun 2021 18:54:09 +0300 Subject: [PATCH] nnn: update to 4.1.1 --- srcpkgs/nnn/template | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/srcpkgs/nnn/template b/srcpkgs/nnn/template index 7d905198b749..11ad969d0fdd 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 \