diff --git a/app-misc/nnn/nnn-3.2.recipe b/app-misc/nnn/nnn-3.4.recipe similarity index 79% rename from app-misc/nnn/nnn-3.2.recipe rename to app-misc/nnn/nnn-3.4.recipe index d2a8bb6ef..1c7a36f3a 100644 --- a/app-misc/nnn/nnn-3.2.recipe +++ b/app-misc/nnn/nnn-3.4.recipe @@ -1,4 +1,4 @@ -SUMMARY="The missing terminal file manager for X" +SUMMARY="A blazing-fast lightweight terminal file manager" DESCRIPTION="nnn is a full-featured terminal file manager. It's tiny and \ nearly 0-config with an incredible performance. @@ -8,7 +8,7 @@ capabilities further. You can plug new functionality and play with a \ custom keybind instantly. There's an independent (neo)vim plugin. It runs smoothly on the Raspberry Pi, Termux on Android, Linux, macOS, BSD, \ -Cygwin, WSL and works seamlessly with DEs and GUI utilities. +Cygwin, WSL, Haiku and works seamlessly with DEs and GUI utilities. Visit the Wiki for concepts, program usage, how-tos and troubleshooting." HOMEPAGE="https://github.com/jarun/nnn" @@ -16,9 +16,9 @@ COPYRIGHT="2016-2020 Arun Prakash Jana" LICENSE="BSD (2-clause)" REVISION="1" SOURCE_URI="https://github.com/jarun/nnn/archive/v$portVersion.tar.gz" -CHECKSUM_SHA256="4ebbd024776153ecb79c75d1a58fc5cd7cd168c6e8217100b5edf322fdf9d4fd" +CHECKSUM_SHA256="7803ae6e974aeb4008507d9d1afbcca8d084a435f36ff636b459ca50414930a1" -ARCHITECTURES="x86_gcc2 x86_64" +ARCHITECTURES="!x86_gcc2 x86_64" SECONDARY_ARCHITECTURES="x86" PROVIDES=" @@ -44,8 +44,14 @@ BUILD_PREREQUIRES=" cmd:ld$secondaryArchSuffix cmd:make cmd:pkg_config$secondaryArchSuffix + cmd:sed " +PATCH() +{ + sed -i 's+#+//+g' misc/haiku/nnn.rdef +} + BUILD() { make -f misc/haiku/Makefile $jobArgs @@ -54,4 +60,6 @@ BUILD() INSTALL() { make -f misc/haiku/Makefile install PREFIX=$prefix + + addResourcesToBinaries misc/haiku/nnn.rdef $prefix/bin/nnn }