aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu, Zhenyu <wuzhenyu@ustc.edu>2024-11-05 12:56:43 +0800
committerWu, Zhenyu <wuzhenyu@ustc.edu>2024-11-05 12:56:43 +0800
commit2650252d33835405bec20dfe23dba1cb4dbf070c (patch)
tree43b81c13e34d1db16a325bcc404b44b4701c0887 /app-shells
parentdev-jq/emojify: fix package bug (diff)
downloadguru-2650252d33835405bec20dfe23dba1cb4dbf070c.tar.gz
guru-2650252d33835405bec20dfe23dba1cb4dbf070c.tar.bz2
guru-2650252d33835405bec20dfe23dba1cb4dbf070c.zip
app-shells/manpager: new package, add 0.0.3
Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/manpager/Manifest1
-rw-r--r--app-shells/manpager/manpager-0.0.3.ebuild30
-rw-r--r--app-shells/manpager/metadata.xml11
3 files changed, 42 insertions, 0 deletions
diff --git a/app-shells/manpager/Manifest b/app-shells/manpager/Manifest
new file mode 100644
index 000000000..faa24c2a7
--- /dev/null
+++ b/app-shells/manpager/Manifest
@@ -0,0 +1 @@
+DIST manpager-0.0.3.tar.gz 19824 BLAKE2B 19be8abc7c85d0d92e08c7769f3b9805df97a60aaff19da0c3939cde96310c94219d03962d1fe11f34a1f928cf5c8dd3cca287914a37469e24643f6d699e331b SHA512 b7920eeccd0d3b9e669d5da4f2074a88a5944d781088428550100fc53bdf7d7c8e0877b16aa71bf667c8b01908ba90454f2d8c4145cf619fb41c1f516586c55f
diff --git a/app-shells/manpager/manpager-0.0.3.ebuild b/app-shells/manpager/manpager-0.0.3.ebuild
new file mode 100644
index 000000000..9bee9abd3
--- /dev/null
+++ b/app-shells/manpager/manpager-0.0.3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="colorize man pages"
+HOMEPAGE="https://github.com/Freed-Wu/manpager"
+
+SRC_URI="
+ $HOMEPAGE/archive/${PV}.tar.gz -> $P.tar.gz
+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~arm64-macos ~x64-macos"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+RDEPEND="
+ sys-apps/bat
+ app-text/ansifilter
+"
+
+src_prepare() {
+ default
+ sed -i s=/usr=$EPREFIX/usr=g bin/$PN
+}
+
+src_install() {
+ dobin bin/$PN
+ echo "MANPAGER=manpager" | newenvd - 00manpager
+}
diff --git a/app-shells/manpager/metadata.xml b/app-shells/manpager/metadata.xml
new file mode 100644
index 000000000..fcd312795
--- /dev/null
+++ b/app-shells/manpager/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>wuzhenyu@ustc.edu</email>
+ <name>Wu, Zhenyu</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Freed-Wu/manpager</remote-id>
+ </upstream>
+</pkgmetadata>