app-text/lchat: new package, add 1.0

Signed-off-by: Carlos Eduardo <carana2099@gmail.com>
This commit is contained in:
Carlos Eduardo
2024-05-19 15:23:15 -03:00
parent 163e71b6cc
commit 5afdbb0497
3 changed files with 45 additions and 0 deletions

1
app-text/lchat/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST lchat-1.0.tar.gz 24455 BLAKE2B d46aad891fa40acc4f41317e652f09f14c0c063be0c99d0e1263c65e0f939c6bcbfceed16080b6368f39dc02fec0a90989cfda132d372f08d60ff87fa1ff2019 SHA512 cde5fd193d7c8251ca94bc8a4e648faaad01ec9eac5b09365c34a51646aa70e7031ec40acce121e8187cec2f692caa16a0a3fb68223b2fcfba1a411757e70923

View File

@@ -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
}

View File

@@ -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>