aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Eduardo <carana2099@gmail.com>2024-05-19 15:23:15 -0300
committerCarlos Eduardo <carana2099@gmail.com>2024-05-19 15:23:15 -0300
commit5afdbb0497b6eec485b8b62d22a175f8a6ce5c63 (patch)
tree1e19c602ccc34b832d3e9666b169c2ef1be67493 /app-text
parentmedia-libs/wivrn: add 0.15, drop 0.13 (diff)
downloadguru-5afdbb0497b6eec485b8b62d22a175f8a6ce5c63.tar.gz
guru-5afdbb0497b6eec485b8b62d22a175f8a6ce5c63.tar.bz2
guru-5afdbb0497b6eec485b8b62d22a175f8a6ce5c63.zip
app-text/lchat: new package, add 1.0
Signed-off-by: Carlos Eduardo <carana2099@gmail.com>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/lchat/Manifest1
-rw-r--r--app-text/lchat/lchat-1.0.ebuild27
-rw-r--r--app-text/lchat/metadata.xml17
3 files changed, 45 insertions, 0 deletions
diff --git a/app-text/lchat/Manifest b/app-text/lchat/Manifest
new file mode 100644
index 000000000..78c3df6ec
--- /dev/null
+++ b/app-text/lchat/Manifest
@@ -0,0 +1 @@
+DIST lchat-1.0.tar.gz 24455 BLAKE2B d46aad891fa40acc4f41317e652f09f14c0c063be0c99d0e1263c65e0f939c6bcbfceed16080b6368f39dc02fec0a90989cfda132d372f08d60ff87fa1ff2019 SHA512 cde5fd193d7c8251ca94bc8a4e648faaad01ec9eac5b09365c34a51646aa70e7031ec40acce121e8187cec2f692caa16a0a3fb68223b2fcfba1a411757e70923
diff --git a/app-text/lchat/lchat-1.0.ebuild b/app-text/lchat/lchat-1.0.ebuild
new file mode 100644
index 000000000..5a9a67d90
--- /dev/null
+++ b/app-text/lchat/lchat-1.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Line oriented front end for ii-like chat programs"
+HOMEPAGE="https://tools.suckless.org/lchat/"
+SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+RDEPEND="dev-libs/libgrapheme"
+DEPEND="${RDEPEND}"
+IUSE="+examples"
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="$CFLAGS" all $(usex examples filter/indent)
+}
+
+src_install() {
+ doman lchat.1
+ dobin lchat
+ mv filter/indent lchat-indent
+ use examples && dobin lchat-indent
+}
diff --git a/app-text/lchat/metadata.xml b/app-text/lchat/metadata.xml
new file mode 100644
index 000000000..e34dbd721
--- /dev/null
+++ b/app-text/lchat/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>carana2099@gmail.com</email>
+ <description>Carlos Eduardo</description>
+ </maintainer>
+ <longdescription>
+ lchat (line chat) is a line oriented front end for ii-like chat programs.
+ It handles the input from keyboard and output file in parallel. Thus,
+ you are able to type messages while new chat lines are arriving. Its main
+ focus is on usability and simplicity.
+ </longdescription>
+ <use>
+ <flag name="examples">install the example indent .filter</flag>
+ </use>
+</pkgmetadata>