public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* nnn
@ 2022-10-09 13:54 Federico Kircheis
  2022-10-10 13:02 ` nnn Jon Turney
  0 siblings, 1 reply; 4+ messages in thread
From: Federico Kircheis @ 2022-10-09 13:54 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 689 bytes --]

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

[-- Attachment #2: nnn.hint --]
[-- Type: text/plain, Size: 452 bytes --]

# 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

[-- Attachment #3: nnn.cygport --]
[-- Type: text/plain, Size: 1003 bytes --]

# 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
	:
}

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-10-14 16:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-09 13:54 nnn Federico Kircheis
2022-10-10 13:02 ` nnn Jon Turney
2022-10-13 19:11   ` nnn Federico Kircheis
2022-10-14 16:35     ` nnn Jon Turney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).