From 28360c8d887b71360e74ec96469314d573476414 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Mon, 10 Jan 2022 16:32:24 +0100 Subject: app-misc/fmawk: bump to 1.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Maciej Barć --- app-misc/fmawk/Manifest | 1 + app-misc/fmawk/fmawk-1.3.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 app-misc/fmawk/fmawk-1.3.ebuild (limited to 'app-misc') diff --git a/app-misc/fmawk/Manifest b/app-misc/fmawk/Manifest index 05308c04d54f..618e4ef7fe10 100644 --- a/app-misc/fmawk/Manifest +++ b/app-misc/fmawk/Manifest @@ -1 +1,2 @@ DIST fmawk-1.2.tar.gz 23399 BLAKE2B f4c20c8f1569a6715710a5cef02a767152694ef7e216c9fe707c7ac57c20dd012189db14777d47a980008255c7f51b5c165cdf086c41835a7ce550b758a8f350 SHA512 86d56e1cc893c385a0bb338957a9ef698c0edef4587e6d3a21aa316fd996fa3b1416220e5c235d613876a3d19650e8e7a20bf991a4ce67ce9759a362d2aaac30 +DIST fmawk-1.3.tar.gz 25628 BLAKE2B e9b591941c5dbfa96414cc494b91eebfc19e9153cad7066afe216a6e1a177de5c3f3e04f09fec62bbd0adf0b3330bfc9471fcecc23b568e966e8185b7a298c39 SHA512 b1ca40c71b219cd59009c96692e1297cec75d2a61b28c330e4b80b55bde6dc6dfb071fec9dc4ae4f3e8aa7be7bbb51d444687f9500c82dba440388d41369e157 diff --git a/app-misc/fmawk/fmawk-1.3.ebuild b/app-misc/fmawk/fmawk-1.3.ebuild new file mode 100644 index 000000000000..188ad7e91e82 --- /dev/null +++ b/app-misc/fmawk/fmawk-1.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit optfeature + +DESCRIPTION="File manager written in awk" +HOMEPAGE="https://github.com/huijunchen9260/fm.awk/" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/huijunchen9260/fm.awk.git" +else + SRC_URI="https://github.com/huijunchen9260/fm.awk/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/fm.awk-${PV}" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" + +RDEPEND="virtual/awk" + +src_compile() { + : +} + +src_install() { + emake DESTDIR="${D}" install + einstalldocs +} + +pkg_postinst() { + optfeature "PDFs preview" app-text/poppler + optfeature "images preview" media-gfx/chafa + optfeature "videos preview" media-video/ffmpegthumbnailer +} -- cgit v1.2.3-65-gdbad