From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2AEB8158094 for ; Sun, 28 Aug 2022 00:00:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E386E0A89; Sun, 28 Aug 2022 00:00:04 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 29040E0A89 for ; Sun, 28 Aug 2022 00:00:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EE170341714 for ; Sat, 27 Aug 2022 21:34:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4EFF158B for ; Sat, 27 Aug 2022 21:34:15 +0000 (UTC) From: "Michael Yang" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Yang" Message-ID: <1661635519.8619a7f7752bb3cc411ca2512cb32fbe3ccdcc23.michaelzcyang@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/clifm/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-misc/clifm/Manifest app-misc/clifm/clifm-1.7.ebuild X-VCS-Directories: app-misc/clifm/ X-VCS-Committer: michaelzcyang X-VCS-Committer-Name: Michael Yang X-VCS-Revision: 8619a7f7752bb3cc411ca2512cb32fbe3ccdcc23 X-VCS-Branch: dev Date: Sat, 27 Aug 2022 21:34:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 294d2488-de4b-4e0c-bf93-4e4ec813b183 X-Archives-Hash: 9313c1f6ad90c3529086af27d60c534a commit: 8619a7f7752bb3cc411ca2512cb32fbe3ccdcc23 Author: Michael Yang gmail com> AuthorDate: Sat Aug 27 21:25:07 2022 +0000 Commit: Michael Yang gmail com> CommitDate: Sat Aug 27 21:25:19 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8619a7f7 app-misc/clifm: add 1.7 Signed-off-by: Michael Yang gmail.com> app-misc/clifm/Manifest | 1 + app-misc/clifm/clifm-1.7.ebuild | 57 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/app-misc/clifm/Manifest b/app-misc/clifm/Manifest index a7bb68a4e..6ff4bc8c7 100644 --- a/app-misc/clifm/Manifest +++ b/app-misc/clifm/Manifest @@ -1 +1,2 @@ DIST clifm-1.6.tar.gz 1268633 BLAKE2B de36f0d3bc1c6584471d313f346a9db77f659b4fde41775e45c78066db12aff8bf33a58b3c5d0f9cd43800cf823f0508c2abb5c88ff50a28147aec5c7e7178df SHA512 a8f6b73070779d0d49b41109bee1b418cb6eb4fb1ac8e684cf859e1137336df2655ddfb5107b50674a5380364f572fe47cc72f58c25c4ff6439593b411a5f69e +DIST clifm-1.7.tar.gz 1310379 BLAKE2B d37e5f4d013c7a7c8427993aa0ff187bac33cb8a89b75b368ce77eb11cbb3275f5cfabec1037e0b3052471633e763d22a7debe019c75ae6098f44cda0e9f7d70 SHA512 30bdc33090846b82edb2cf6372ca3515806f85261405476518d9b5cb1f9dc22e513263cac70f7d93bb85e6489b1486868964b1719637c1b317ce491b5734c453 diff --git a/app-misc/clifm/clifm-1.7.ebuild b/app-misc/clifm/clifm-1.7.ebuild new file mode 100644 index 000000000..826248a0c --- /dev/null +++ b/app-misc/clifm/clifm-1.7.ebuild @@ -0,0 +1,57 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="The command line file manager" +HOMEPAGE="https://github.com/leo-arch/clifm" + +inherit optfeature xdg + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/leo-arch/clifm.git" + inherit git-r3 +else + SRC_URI="https://github.com/leo-arch/clifm/archive/v${PV}.tar.gz -> ${P}.tar.gz" + # also on sourceforge but the unpacked name is irregular + # SRC_URI="mirror://sourceforge/${PN}/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND=" + sys-libs/libcap + sys-libs/readline:= + sys-apps/acl + sys-apps/file +" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_compile() { + # makefile defaults to /usr/local + emake PREFIX="/usr" || die "make failed" +} + +src_install() { + docompress -x /usr/share/man # makefile compresses man page + # makefile defaults to /usr/local, and manpages to /usr/man + emake DESTDIR="${D}" PREFIX="/usr" MANDIR="/usr/share/man" install || die "install failed" + einstalldocs +} + +pkg_postinst() { + optfeature_header "Install additional optional functionality:" + optfeature "fzf tab completion and more" app-shells/fzf + optfeature "mounting/unmounting support" sys-fs/udisks sys-apps/udevil + optfeature_header "Install optional archiving support (if you didn't use -D_NO_ARCHIVING):" + optfeature "zstd operations" app-arch/zstd + optfeature "archive extraction/unpacking" app-arch/atool + optfeature "mounting archives" sys-fs/archivemount + optfeature "extracting .iso files" app-arch/p7zip + optfeature "creating .iso files" app-cdr/cdrtools + xdg_pkg_postinst +}