mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
app-office/sc-im: initial import
Signed-off-by: Dex Conner <cantcuckthis@danwin1210.de>
This commit is contained in:
1
app-office/sc-im/Manifest
Normal file
1
app-office/sc-im/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST sc-im-0.8.2.tar.gz 1619617 BLAKE2B 1957b79749012b5e8b24e26f3cde63c84bf971d2183791f986c98ec823a9ab74bf8a126dcdb2a58920af07e068520ebd7efe9c9394235c5a58670f120495e980 SHA512 ae02fd31eb7254208de26802ed6d8b21d77ce2d6997f4a2de5bd2f0a002c763f67f53e6c8e49d66ded096ecd8bf50b1117015e9a0356eaf11c3caef22cf4552c
|
||||
11
app-office/sc-im/files/sc-im-0.8.2-prefix.patch
Normal file
11
app-office/sc-im/files/sc-im-0.8.2-prefix.patch
Normal 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)
|
||||
14
app-office/sc-im/metadata.xml
Normal file
14
app-office/sc-im/metadata.xml
Normal 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>
|
||||
38
app-office/sc-im/sc-im-0.8.2.ebuild
Normal file
38
app-office/sc-im/sc-im-0.8.2.ebuild
Normal 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"
|
||||
Reference in New Issue
Block a user