From 32cbfce0514ec37fe174a92860c36fc70a91b301 Mon Sep 17 00:00:00 2001 From: Josef Schlehofer Date: Sun, 17 Nov 2019 10:43:58 +0100 Subject: [PATCH] nnn: Add a new package Signed-off-by: Josef Schlehofer --- utils/nnn/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 utils/nnn/Makefile diff --git a/utils/nnn/Makefile b/utils/nnn/Makefile new file mode 100644 index 000000000..81e8197eb --- /dev/null +++ b/utils/nnn/Makefile @@ -0,0 +1,38 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=nnn +PKG_VERSION:=2.7 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://codeload.github.com/jarun/nnn/tar.gz/v$(PKG_VERSION)? +PKG_HASH:=0592c7cbcf2cf66cacac49e9204636480820b1bc74e4187dd7ee06945a6d07c5 + +PKG_MAINTAINER:=Josef Schlehofer +PKG_LICENSE:=BSD-2-Clause +PKG_LICENSE_FILES:=LICENSE + +PKG_BUILD_PARALLEL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/nnn + SECTION:=utils + CATEGORY:=Utilities + TITLE:=Full-featured terminal file manager + URL:=https://github.com/jarun/nnn + DEPENDS:=+libncurses +libreadline +findutils-xargs +endef + +define Package/nnn/description + nnn is full-featured tiny terminal file manager and + disk usage analyzer, fuzzy app launcher, batch file renamer + and file picker. +endef + +define Package/nnn/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/nnn $(1)/usr/bin +endef + +$(eval $(call BuildPackage,nnn))