app-text/lsp: new package, add 0.5.0-rc4

Signed-off-by: Dirk Gouders <dirk@gouders.net>
This commit is contained in:
Dirk Gouders
2024-02-12 22:18:54 +01:00
parent 9a936189f2
commit 8d9a04fec5
3 changed files with 67 additions and 0 deletions

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

@@ -0,0 +1 @@
DIST v0.5.0-rc4.tar.gz 60316 BLAKE2B db8b45b7f0e584f8be865fc7e0bb201bbddc780b5adfe21b9367d76f4d5a581382ff8bb8d76f68a6929cf66f16e8467e9eb2cad34385f8512e35e1acac21631d SHA512 7682f060b489cafa671d78bb9e6c130a317eaee08da6638c35ae422b7ce30436f06487e5dd2fce2055edb32a12cb63d7fefbfb29169a316105210609016a2f1c

View File

@@ -0,0 +1,38 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
MY_PV="${PV/_/-}"
MY_P="lsp-${MY_PV}"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="The least significant pager"
HOMEPAGE="https://github.com/dgouders/lsp"
SRC_URI="https://github.com/dgouders/lsp/archive/refs/tags/v${MY_PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=sys-apps/man-db-2.12.0
>=sys-libs/ncurses-6.4_p20230401
"
DEPEND="${RDEPEND}"
src_configure() {
meson_src_configure
}
pkg_postinst() {
elog "lsp(1) is still considered experimental."
elog "Testers and feedback are very welcome!"
elog ""
elog "One known problem are files with long lines."
elog "Movement within those files isn't accurate but"
elog "this will get fixed in the near future."
elog ""
elog "To enable lsp(1) to be automatically selected"
elog "as a pager, set either MANPAGER, GIT_PAGER and/or PAGER."
}

28
app-text/lsp/metadata.xml Normal file
View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>dirk@gouders.net</email>
<description>Primary maintainer</description>
</maintainer>
<upstream>
<bugs-to>https://github.com/dgouders/lsp/issues</bugs-to>
<doc>https://github.com/dgouders/lsp/</doc>
<remote-id type="github">dgouders/lsp</remote-id>
</upstream>
<longdescription>
lsp(1) is a terminal pager with a focus on manual pages.
It offers some assistance in handling manual pages:
* Navigation to other referenced manual pages.
* Opening of any manual page by name.
* Maintainance of several open manual pages in a session.
* Experimental TOC mode that is helpful to show only sections and
subsections of manual pages.
* Creating a pseudo-file with the output of apropos.
This could be useful especially for novice users: this can be
used to search or read through all manual pages' short descriptions
and immediately open interesting ones.
</longdescription>
</pkgmetadata>