app-office/sc-im: initial import

Signed-off-by: Dex Conner <cantcuckthis@danwin1210.de>
This commit is contained in:
Dex Conner
2022-04-13 19:26:12 +03:00
parent 9ea321cb7b
commit 4709ec0506
4 changed files with 64 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST sc-im-0.8.2.tar.gz 1619617 BLAKE2B 1957b79749012b5e8b24e26f3cde63c84bf971d2183791f986c98ec823a9ab74bf8a126dcdb2a58920af07e068520ebd7efe9c9394235c5a58670f120495e980 SHA512 ae02fd31eb7254208de26802ed6d8b21d77ce2d6997f4a2de5bd2f0a002c763f67f53e6c8e49d66ded096ecd8bf50b1117015e9a0356eaf11c3caef22cf4552c

View File

@@ -0,0 +1,11 @@
--- src/Makefile
+++ src/Makefile
@@ -2,7 +2,7 @@
name = sc-im
# The base directory where everything should be installed.
-prefix = /usr/local
+prefix = /usr
EXDIR = $(prefix)/bin
HELPDIR = $(prefix)/share/$(name)

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>cantcuckthis@danwin1210.de</email>
<name>Dex Conner</name>
</maintainer>
<use>
<flag name='plots'>Add <pkg>sci-visualization/gnuplot</pkg> for plotting support</flag>
<flag name='xls'>Add xls/xlsx support. Pulls in <pkg>dev-python/xlsxwriter</pkg>, <pkg>dev-haskell/libxml</pkg>, <pkg>dev-libs/libzip</pkg> and <pkg>dev-libs/libxls</pkg></flag>
<flag name='ods'>Add <pkg>dev-libs/libzip</pkg> for ods import support</flag>
<flag name='X'>Use <pkg>x11-misc/xclip</pkg> for clipboard copy/paste</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1,38 @@
# 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"
PATCHES=(
"${FILESDIR}/${P}-prefix.patch"
)
DEPEND="
sys-libs/ncurses
X? ( || ( app-misc/tmux x11-misc/xclip ) )
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"