mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
62 lines
1.7 KiB
Bash
62 lines
1.7 KiB
Bash
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.
|
|
|
|
nnn is also a du analyzer, an app launcher, a batch renamer and a file picker. \
|
|
The plugin repository has tons of plugins and documentation to extend the \
|
|
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, 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"
|
|
COPYRIGHT="2016-2021 Arun Prakash Jana"
|
|
LICENSE="BSD (2-clause)"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/jarun/nnn/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="5675f9fe53bddfd92681ef88bf6c0fab3ad897f9e74dd6cdff32fe1fa62c687f"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
nnn$secondaryArchSuffix = $portVersion
|
|
cmd:nnn = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
file$secondaryArchSuffix
|
|
lib:libncurses$secondaryArchSuffix
|
|
lib:libreadline$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libncurses$secondaryArchSuffix
|
|
devel:libreadline$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:install
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
export LDFLAGS="-lgnu"
|
|
|
|
make -f misc/haiku/Makefile $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make -f misc/haiku/Makefile install PREFIX=$prefix
|
|
|
|
addResourcesToBinaries misc/haiku/nnn.rdef $prefix/bin/nnn
|
|
}
|