diff options
-rw-r--r-- | dev-perl/Perl-Tidy/Manifest | 1 | ||||
-rw-r--r-- | dev-perl/Perl-Tidy/Perl-Tidy-20240202.0.0.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-perl/Perl-Tidy/Manifest b/dev-perl/Perl-Tidy/Manifest index 9f36b747defb..ec94d9cafd03 100644 --- a/dev-perl/Perl-Tidy/Manifest +++ b/dev-perl/Perl-Tidy/Manifest @@ -1 +1,2 @@ DIST Perl-Tidy-20230912.tar.gz 987782 BLAKE2B c411392dd87287d0cd06ec4c75cd1bff67604a4e5c0671779c657ce48816395259614ee4005c0ffa23c6f8919b5c7b8edd02aca1dad1e522b48fa1a40978a101 SHA512 aeb5e6bd531cc4a197dbddcc24dfb7acccc95f777ee10560f031e095072ac7e4ae50aa452016d904d58f25c8a89daa0ed31d9a088bd291766f129031f3daeefd +DIST Perl-Tidy-20240202.tar.gz 1036929 BLAKE2B 2ce8349500e162d699a65e6f11bd4edc0929bd9ba56c1ee486358c1292aa2b71bde7027ae1c3f61ff17b6320f000819cd34436f777583db788a7eff02b95e313 SHA512 33d912152285f2ccb304bf7df4f2e055c5f8b3049b9556c7efe5bd2d80123316f9014e8e5f17c9698545394f466f381e306f431450a04e74d767150db43028f5 diff --git a/dev-perl/Perl-Tidy/Perl-Tidy-20240202.0.0.ebuild b/dev-perl/Perl-Tidy/Perl-Tidy-20240202.0.0.ebuild new file mode 100644 index 000000000000..d5426ab74d58 --- /dev/null +++ b/dev-perl/Perl-Tidy/Perl-Tidy-20240202.0.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=SHANCOCK +DIST_VERSION=20240202 +DIST_EXAMPLES=( "examples/*" ) + +inherit perl-module + +DESCRIPTION="Perl script indenter and beautifier" +HOMEPAGE="https://perltidy.sourceforge.net/ https://metacpan.org/release/Perl-Tidy" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +BDEPEND="virtual/perl-ExtUtils-MakeMaker" + +src_install() { + perl-module_src_install + + # Compressing html is bad + docompress -x /usr/share/doc/${PF}/stylekey.html + docompress -x /usr/share/doc/${PF}/tutorial.html + docompress -x /usr/share/doc/${PF}/perltidy.html + + dodoc docs/stylekey.html + dodoc docs/tutorial.html + dodoc docs/perltidy.html +} |