nnn

Federico Kircheis federico@kircheis.it
Sun Oct 9 13:54:56 GMT 2022


Hello to everyone,

I would like to package nnn for cygwin

https://github.com/jarun/nnn/

nnn is already packaged and distributed on different systems/distributions:

https://packages.debian.org/search?keywords=nnn
https://packages.gentoo.org/packages/app-misc/nnn
https://software.opensuse.org/package/nnn
https://pkgs.org/download/nnn
https://pkgs.org/search/?q=nnn
https://formulae.brew.sh/formula/nnn
https://www.freshports.org/misc/nnn/

The current release can be downloaded from

https://github.com/jarun/nnn/releases/tag/v4.6

and can be compiled on cygwin without patches.

nnn does not have a "native" Windows port.

.hint and .cygport files are attached

Best regards

Federico
-------------- next part --------------
# nnn.hint
sdesc: "nnn is a full-featured terminal file manager. It's tiny, nearly 0-config and incredibly fast."
ldesc: "nnn can analyze disk usage, batch rename, launch apps and pick files. The plugin repository has tons of plugins to extend the capabilities further e.g. live previews, (un)mount disks, find & list, file/dir diff, upload files. A patch framework hosts sizable user-submitted patches which are subjective in nature."
category: Utils
-------------- next part --------------
# nnn.cygport
NAME="nnn"
VERSION=4.6
RELEASE=1
SUMMARY="nnn is a full-featured terminal file manager. It's tiny, nearly 0-config and incredibly fast."
DESCRIPTION="nnn can analyze disk usage, batch rename, launch apps and pick files. The plugin repository has tons of plugins to extend the capabilities further e.g. live previews, (un)mount disks, find & list, file/dir diff, upload files. A patch framework hosts sizable user-submitted patches which are subjective in nature."
CATEGORY="Utils"

HOMEPAGE="https://github.com/jarun/nnn"
LICENSE="BSD-2-Clause"
SRC_URI="https://github.com/jarun/nnn/archive/v${VERSION}.tar.gz"
SRC_DIR="nnn-${VERSION}"

# libxslt libxml2 docbook-xsl docbook-xml42 are for generating the documentation
BUILD_REQUIRES="libncurses-devel libreadline-devel"
REQUIRES="libncursesw10 libreadline7"

PKG_NAMES="nnn"

src_compile() {
	lndirs
	cd ${B}
	
	cygmake "PREFIX=/usr"
}

src_install() {
	cd ${B}
	cyginstall "PREFIX=/usr"
}

src_test() {
	# There is no test suite yet
	:
}


More information about the Cygwin-apps mailing list