mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
app-misc/clifm: add 1.7
Signed-off-by: Michael Yang <michaelzcyang@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
57
app-misc/clifm/clifm-1.7.ebuild
Normal file
57
app-misc/clifm/clifm-1.7.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user