Files
chromebrew/packages/nnn.rb
chromebrew-actions[bot] 38439537ab gparted -> 1.8.1 in updater-gparted-1.8.1 — gparted: 1.8.0 → 1.8.1 (#15055)
* gparted -> 1.8.1 in updater-gparted-1.8.1

* updater-gparted-1.8.1: Package File Update Run on linux/amd64 container.

* updater-gparted-1.8.1: Package File Update Run on linux/arm/v7 container.

* updater-gparted-1.8.1: Package File Update Run on linux/amd64 container.

* Cleanup gparted.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update dependencies to use :executable instead of :executable_only

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2026-03-19 00:13:29 +00:00

29 lines
913 B
Ruby

require 'package'
class Nnn < Package
description 'Full-featured terminal file manager.'
homepage 'https://github.com/jarun/nnn'
version '5.2'
license 'BSD-2 Clause'
compatibility 'all'
source_url 'https://github.com/jarun/nnn.git'
git_hashtag "v#{version}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'd755c2cd4aefe85b5e07e9ce2250c089de54c5c4e403f85e796f27444826f395',
armv7l: 'd755c2cd4aefe85b5e07e9ce2250c089de54c5c4e403f85e796f27444826f395',
i686: '3c767e8ac94bb4b87694791306ceee3620962a5d221d7c4a92714fae049e47e5',
x86_64: 'b6b21729a493ed1f515c81fc099ea798c8b671061b3d6c2638ff3e4bb0df860c'
})
depends_on 'glibc' => :executable
depends_on 'ncurses' => :executable
depends_on 'pkg_config' => :build
depends_on 'readline' => :executable
def self.install
system 'make', "PREFIX=#{CREW_PREFIX}", "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end