blob: 9c1566d0f94ad2a46a432ccfe7e0cfbb26c710ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Ncurses file manager written in C with vim like keybindings"
HOMEPAGE="https://github.com/mananapr/cfiles"
SRC_URI="https://github.com/mananapr/cfiles/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="
sys-libs/ncurses:=
app-text/poppler[utils]
"
RDEPEND="${DEPEND}"
src_prepare() {
sed -i -e 's/$(CC) $(CFLAGS)/& $(LDFLAGS)/g' Makefile || die
default
}
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
dobin cfiles
dobin scripts/displayimg_uberzug
dobin scripts/clearimg_uberzug
dobin scripts/displayimg
doman cfiles.1
}
|