mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
app-shells/manpager: new package, add 0.0.3
Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
1
app-shells/manpager/Manifest
Normal file
1
app-shells/manpager/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST manpager-0.0.3.tar.gz 19824 BLAKE2B 19be8abc7c85d0d92e08c7769f3b9805df97a60aaff19da0c3939cde96310c94219d03962d1fe11f34a1f928cf5c8dd3cca287914a37469e24643f6d699e331b SHA512 b7920eeccd0d3b9e669d5da4f2074a88a5944d781088428550100fc53bdf7d7c8e0877b16aa71bf667c8b01908ba90454f2d8c4145cf619fb41c1f516586c55f
|
||||
30
app-shells/manpager/manpager-0.0.3.ebuild
Normal file
30
app-shells/manpager/manpager-0.0.3.ebuild
Normal file
@@ -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
|
||||
}
|
||||
11
app-shells/manpager/metadata.xml
Normal file
11
app-shells/manpager/metadata.xml
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user