public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Federico Kircheis <federico@kircheis.it>
To: cygwin-apps <cygwin-apps@cygwin.com>
Subject: nnn
Date: Sun, 9 Oct 2022 15:54:56 +0200	[thread overview]
Message-ID: <4d509e0f-bba2-477e-bd60-e82b5a730764@kircheis.it> (raw)

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

             reply	other threads:[~2022-10-09 13:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-09 13:54 Federico Kircheis [this message]
2022-10-10 13:02 ` nnn Jon Turney
2022-10-13 19:11   ` nnn Federico Kircheis
2022-10-14 16:35     ` nnn Jon Turney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4d509e0f-bba2-477e-bd60-e82b5a730764@kircheis.it \
    --to=federico@kircheis.it \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).