mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-08 13:56:40 +02:00
community/nnn: upgrade to 4.1
add `fts-dev` as `makedepends`, required on musl OS patch added to append '-ltfs' in Makefile
This commit is contained in:
parent
4d68a7bab9
commit
e44b324fe0
@ -1,13 +1,13 @@
|
||||
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
||||
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
||||
pkgname=nnn
|
||||
pkgver=4.0
|
||||
pkgver=4.1
|
||||
pkgrel=0
|
||||
pkgdesc="The unorthodox terminal file manager"
|
||||
url="https://github.com/jarun/nnn"
|
||||
arch="all"
|
||||
license="BSD-2-Clause"
|
||||
makedepends="ncurses-dev readline-dev"
|
||||
makedepends="fts-dev ncurses-dev readline-dev"
|
||||
install="$pkgname-plugins.post-install"
|
||||
options="!check" # no tests provided and $(nnn -v) requires tty
|
||||
subpackages="$pkgname-doc
|
||||
@ -16,8 +16,9 @@ subpackages="$pkgname-doc
|
||||
$pkgname-fish-completion:fishcomp:noarch
|
||||
$pkgname-zsh-completion:zshcomp:noarch
|
||||
"
|
||||
source="https://github.com/jarun/nnn/archive/v$pkgver/$pkgname-$pkgver.tar.gz
|
||||
source="https://github.com/jarun/nnn/archive/v$pkgver/nnn-$pkgver.tar.gz
|
||||
nnn-getplugs
|
||||
musl-fts-support.patch
|
||||
"
|
||||
|
||||
build() {
|
||||
@ -74,5 +75,8 @@ zshcomp() {
|
||||
"$subpkgdir"/usr/share/zsh/site-functions/_$pkgname
|
||||
}
|
||||
|
||||
sha512sums="fde552a31674c9bf50a2e98de4456621bdc97aee36cd5efd7ad0cc33959965d01469fb20b12868ebffd4c8da79990b502e26895cb5b047ac8821e2ca09b0a234 nnn-4.0.tar.gz
|
||||
5870bd38c897c0738778952d3c65131ae37b44d8a5032add81645bcf46cae4c66700f319b514f8ab369e15900e4de1058736664ca3603a850ef0212a8ce8e7ee nnn-getplugs"
|
||||
sha512sums="
|
||||
7a199f64129afd8e2d8c00b5848e19042a537013831828a0144c8d7a0ba8de408fb09e7b3c4ae0986864e4b24b064a65e439f26d1ab76661887fdf78571c46c0 nnn-4.1.tar.gz
|
||||
5870bd38c897c0738778952d3c65131ae37b44d8a5032add81645bcf46cae4c66700f319b514f8ab369e15900e4de1058736664ca3603a850ef0212a8ce8e7ee nnn-getplugs
|
||||
024b569085e49c33c8fd4143ef97d1b96402e08acb7477f06a2de33f663843151c364f6d7c20329396cadbf75100255f70b28da5f2f44326880d34a3c4644a20 musl-fts-support.patch
|
||||
"
|
||||
|
||||
13
community/nnn/musl-fts-support.patch
Normal file
13
community/nnn/musl-fts-support.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 7e2d7be..c3fd556 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -133,7 +133,7 @@ CFLAGS += -std=c11 -Wall -Wextra -Wshadow
|
||||
CFLAGS += $(CFLAGS_OPTIMIZATION)
|
||||
CFLAGS += $(CFLAGS_CURSES)
|
||||
|
||||
-LDLIBS += $(LDLIBS_CURSES) -lpthread
|
||||
+LDLIBS += $(LDLIBS_CURSES) -lpthread -lfts
|
||||
|
||||
# static compilation needs libgpm development package
|
||||
ifeq ($(strip $(O_STATIC)),1)
|
||||
Loading…
x
Reference in New Issue
Block a user