mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 14:03:33 -04:00
Properly added the tmux flag with the dependency and the Makefile patch. Signed-off-by: Dex Conner <cantcuckthis@danwin1210.de>
48 lines
930 B
Bash
48 lines
930 B
Bash
# Copyright 2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
DESCRIPTION="Spreadsheet Calculator Improvised -- An ncurses spreadsheet program for terminal"
|
|
HOMEPAGE="https://github.com/andmarti1424/sc-im"
|
|
SRC_URI="https://github.com/andmarti1424/sc-im/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="BSD-4"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="X plots xls lua ods tmux"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/${P}-prefix.patch"
|
|
"${FILESDIR}/${P}-tmux.patch"
|
|
|
|
)
|
|
|
|
DEPEND="
|
|
sys-libs/ncurses
|
|
X? ( x11-misc/xclip )
|
|
tmux? ( app-misc/tmux )
|
|
plots? ( sci-visualization/gnuplot )
|
|
xls? (
|
|
dev-libs/libxlsxwriter
|
|
dev-haskell/libxml
|
|
dev-libs/libzip
|
|
dev-libs/libxls
|
|
)
|
|
lua? (
|
|
dev-lang/lua
|
|
)
|
|
ods? (
|
|
dev-libs/libzip
|
|
)
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
BDEPEND=""
|
|
S="${WORKDIR}/${P}/src"
|
|
|
|
src_prepare() {
|
|
eapply "${FILESDIR}/${P}-prefix.patch"
|
|
use tmux && "${FILESDIR}/${P}-tmux.patch"
|
|
eapply_user
|
|
}
|