diff options
-rw-r--r-- | dev-perl/Perl-Tidy/Manifest | 1 | ||||
-rw-r--r-- | dev-perl/Perl-Tidy/Perl-Tidy-20230309.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 6e0f0c8b2ad1..328c2e798a17 100644 --- a/dev-perl/Perl-Tidy/Manifest +++ b/dev-perl/Perl-Tidy/Manifest @@ -1,2 +1,3 @@ DIST Perl-Tidy-20210717.tar.gz 814449 BLAKE2B 7fdd3e18e8e6818665e8e75fb6671234840dba15ca7fc20778d97429cac948fb36876cc1d69452bb4a35a1da411e7d440b385efe91c6eb17c5f4939be37e410e SHA512 ccc090cb6ffbd803fbaddde3a99391bd07a97fb47d20515c3f3e58c69a1404824a5bb9aa3cbfea6b2119f7140552fde3bc2361d3ea8904a875973817446578b1 DIST Perl-Tidy-20211029.tar.gz 850004 BLAKE2B 829630c87b8b37aa72d9cc495003b0d5de8fb31c65d0a458cb653756d8f2e4c0fa23447ac6174ee359ce6597c5cafe977f739d6b0bcbbde1e6e877e985fb5292 SHA512 a164a986b840be19090ed661b94179dfb1acf36ac95e30e886fc28f93fa0a418d83c99cec7ee7443b2bf276fe517018df53847b2045490cc8dfb0640d702d8ba +DIST Perl-Tidy-20230309.tar.gz 960052 BLAKE2B 982e31ef62d9c06e7bda4d07c630f363675afd7b6c5acc0b72c5cd0c6820658dd19e1905988fc5bfa45b36caaa169fa3ec8627c0e080ea3738b50c4bfb90321d SHA512 5b29b10fe758a59e13126b4b050c2f82c82e925cc99f832c47ba6393014d42b10d963630aa98e590dda5cccfaca4810c8244cbb48ddde975a30781061414b034 diff --git a/dev-perl/Perl-Tidy/Perl-Tidy-20230309.0.0.ebuild b/dev-perl/Perl-Tidy/Perl-Tidy-20230309.0.0.ebuild new file mode 100644 index 000000000000..564314f083b4 --- /dev/null +++ b/dev-perl/Perl-Tidy/Perl-Tidy-20230309.0.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=SHANCOCK +DIST_VERSION=20230309 +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 +} |