diff --git a/community/nnn/APKBUILD b/community/nnn/APKBUILD index 34768072a6e..609f10f8f90 100644 --- a/community/nnn/APKBUILD +++ b/community/nnn/APKBUILD @@ -1,13 +1,13 @@ # Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka 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 +" diff --git a/community/nnn/musl-fts-support.patch b/community/nnn/musl-fts-support.patch new file mode 100644 index 00000000000..ddfd3d8e1dc --- /dev/null +++ b/community/nnn/musl-fts-support.patch @@ -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)