aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Gouders <dirk@gouders.net>2024-02-12 22:18:54 +0100
committerDirk Gouders <dirk@gouders.net>2024-02-12 22:18:54 +0100
commit8d9a04fec590a141aca27fd9b80fbb3d4aa55afd (patch)
tree8675926159109a39814336ea435f9384297f32f7 /app-text
parentdev-cpp/toml11: new package, add 3.8.1 (diff)
downloadguru-8d9a04fec590a141aca27fd9b80fbb3d4aa55afd.tar.gz
guru-8d9a04fec590a141aca27fd9b80fbb3d4aa55afd.tar.bz2
guru-8d9a04fec590a141aca27fd9b80fbb3d4aa55afd.zip
app-text/lsp: new package, add 0.5.0-rc4
Signed-off-by: Dirk Gouders <dirk@gouders.net>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/lsp/Manifest1
-rw-r--r--app-text/lsp/lsp-0.5.0_rc4.ebuild38
-rw-r--r--app-text/lsp/metadata.xml28
3 files changed, 67 insertions, 0 deletions
diff --git a/app-text/lsp/Manifest b/app-text/lsp/Manifest
new file mode 100644
index 000000000..97b8f9f5b
--- /dev/null
+++ b/app-text/lsp/Manifest
@@ -0,0 +1 @@
+DIST v0.5.0-rc4.tar.gz 60316 BLAKE2B db8b45b7f0e584f8be865fc7e0bb201bbddc780b5adfe21b9367d76f4d5a581382ff8bb8d76f68a6929cf66f16e8467e9eb2cad34385f8512e35e1acac21631d SHA512 7682f060b489cafa671d78bb9e6c130a317eaee08da6638c35ae422b7ce30436f06487e5dd2fce2055edb32a12cb63d7fefbfb29169a316105210609016a2f1c
diff --git a/app-text/lsp/lsp-0.5.0_rc4.ebuild b/app-text/lsp/lsp-0.5.0_rc4.ebuild
new file mode 100644
index 000000000..f4743a069
--- /dev/null
+++ b/app-text/lsp/lsp-0.5.0_rc4.ebuild
@@ -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."
+}
diff --git a/app-text/lsp/metadata.xml b/app-text/lsp/metadata.xml
new file mode 100644
index 000000000..524f5aa9e
--- /dev/null
+++ b/app-text/lsp/metadata.xml
@@ -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>