diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
commit | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch) | |
tree | c8af0fd04194aed03cf067d44e53c7edd3e9ab84 /app-misc/fmawk/fmawk-1.2.ebuild | |
parent | e9d044d4b9b71200a96adfa280848858c0f468c9 (diff) |
gentoo resync : 05.12.2021
Diffstat (limited to 'app-misc/fmawk/fmawk-1.2.ebuild')
-rw-r--r-- | app-misc/fmawk/fmawk-1.2.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/app-misc/fmawk/fmawk-1.2.ebuild b/app-misc/fmawk/fmawk-1.2.ebuild new file mode 100644 index 000000000000..2247b8c0dff1 --- /dev/null +++ b/app-misc/fmawk/fmawk-1.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 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() { + local bin + for bin in fm.awk fmawk fmawk-previewer; do + dobin ${bin} + done + + einstalldocs +} + +pkg_postinst() { + optfeature "PDFs preview" app-text/poppler + optfeature "images preview" media-gfx/chafa + optfeature "videos preview" media-video/ffmpegthumbnailer +} |