diff options
-rw-r--r-- | app-text/stdman/files/stdman-dont-compress-files.patch | 11 | ||||
-rw-r--r-- | app-text/stdman/metadata.xml | 8 | ||||
-rw-r--r-- | app-text/stdman/stdman-9999.ebuild | 27 |
3 files changed, 46 insertions, 0 deletions
diff --git a/app-text/stdman/files/stdman-dont-compress-files.patch b/app-text/stdman/files/stdman-dont-compress-files.patch new file mode 100644 index 000000000..fdc609ed7 --- /dev/null +++ b/app-text/stdman/files/stdman-dont-compress-files.patch @@ -0,0 +1,11 @@ +diff --git a/do_install b/do_install +index acce4650..121c1b82 100755 +--- a/do_install ++++ b/do_install +@@ -16,6 +16,5 @@ mkdir -p $mandir/man3 + for file in "$tmp_man"/*.3 ; do + out=$mandir/man3/$(basename "$file"); + install -m 0644 "$file" "$out"; +- gzip -f "$out"; + done + echo "Done; it's advised to run 'sudo mandb' (GNU) or 'sudo makewhatis' (BSD) now." diff --git a/app-text/stdman/metadata.xml b/app-text/stdman/metadata.xml new file mode 100644 index 000000000..01c1fc848 --- /dev/null +++ b/app-text/stdman/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>davidroman96@gmail.com</email> + <name>David Roman</name> + </maintainer> +</pkgmetadata> diff --git a/app-text/stdman/stdman-9999.ebuild b/app-text/stdman/stdman-9999.ebuild new file mode 100644 index 000000000..70d173736 --- /dev/null +++ b/app-text/stdman/stdman-9999.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils + +DESCRIPTION="Formatted C++ stdlib man pages (cppreference)" +HOMEPAGE="https://github.com/jeaye/stdman" +LICENSE="MIT" + +SLOT="0" +IUSE="" + +RDEPEND="" + +PATCHES=( "${FILESDIR}/${PN}-dont-compress-files.patch" ) + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/jeaye/stdman" +fi + +src_compile() { + # don't need to compile anything + true +} |