From 0b5b1b23e67cbd0ff368e6dfa329e9631bde4195 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Thu, 4 Feb 2021 03:43:16 -0800 Subject: [PATCH] New package: perl-txt2html-2.5201 --- srcpkgs/perl-Getopt-ArgvFile/template | 15 ++++++++++++++ .../patches/0001-fix-build.patch | 5 +++++ .../patches/0002-fix-build.patch | 4 ++++ srcpkgs/perl-txt2html/template | 20 +++++++++++++++++++ 4 files changed, 44 insertions(+) create mode 100644 srcpkgs/perl-Getopt-ArgvFile/template create mode 100644 srcpkgs/perl-txt2html/patches/0001-fix-build.patch create mode 100644 srcpkgs/perl-txt2html/patches/0002-fix-build.patch create mode 100644 srcpkgs/perl-txt2html/template diff --git a/srcpkgs/perl-Getopt-ArgvFile/template b/srcpkgs/perl-Getopt-ArgvFile/template new file mode 100644 index 00000000000..8013597397a --- /dev/null +++ b/srcpkgs/perl-Getopt-ArgvFile/template @@ -0,0 +1,15 @@ +# Template file for 'perl-Getopt-ArgvFile' +pkgname=perl-Getopt-ArgvFile +version=1.11 +revision=1 +wrksrc="${pkgname/perl-/}-${version}" +build_style=perl-module +hostmakedepends="perl" +makedepends="${hostmakedepends}" +depends="${makedepends}" +short_desc="Take options from files" +maintainer="Michael Taboada " +license="Artistic-1.0-Perl, GPL-1.0-or-later" +homepage="https://search.cpan.org/~JSTENZEL/Getopt-ArgvFile" +distfiles="https://www.cpan.org/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile-${version}.tar.gz" +checksum=3709aa513ce6fd71d1a55a02e34d2f090017d5350a9bd447005653c9b0835b22 diff --git a/srcpkgs/perl-txt2html/patches/0001-fix-build.patch b/srcpkgs/perl-txt2html/patches/0001-fix-build.patch new file mode 100644 index 00000000000..57f29feb08d --- /dev/null +++ b/srcpkgs/perl-txt2html/patches/0001-fix-build.patch @@ -0,0 +1,5 @@ +--- ./lib/HTML/TextToHTML.pm.orig 2013-05-20 23:38:49.000000000 -0700 ++++ ./lib/HTML/TextToHTML.pm 2021-01-17 11:42:14.569976817 -0800 +@@ -637 +637 @@ our $DictDebug = 0; +-use YAML::Syck; ++#use YAML::Syck; diff --git a/srcpkgs/perl-txt2html/patches/0002-fix-build.patch b/srcpkgs/perl-txt2html/patches/0002-fix-build.patch new file mode 100644 index 00000000000..478d69b0e86 --- /dev/null +++ b/srcpkgs/perl-txt2html/patches/0002-fix-build.patch @@ -0,0 +1,4 @@ +--- ./scripts/txt2html.orig 2013-05-20 23:38:49.000000000 -0700 ++++ ./scripts/txt2html 2021-01-17 11:42:14.260979866 -0800 +@@ -3,0 +4 @@ use strict; ++our $VERSION; diff --git a/srcpkgs/perl-txt2html/template b/srcpkgs/perl-txt2html/template new file mode 100644 index 00000000000..374883b04c5 --- /dev/null +++ b/srcpkgs/perl-txt2html/template @@ -0,0 +1,20 @@ +# Template file for 'perl-txt2html' +pkgname=perl-txt2html +version=2.5201 +revision=1 +wrksrc="txt2html-${version}" +build_style=perl-ModuleBuild +hostmakedepends="perl perl-Getopt-ArgvFile perl-Module-Build perl-YAML" +makedepends="perl perl-Getopt-ArgvFile perl-Module-Build perl-YAML" +depends="perl perl-Getopt-ArgvFile" +short_desc="Convert text to html" +maintainer="Michael Taboada " +license="Artistic-1.0-Perl, GPL-1.0-or-later" +homepage="http://txt2html.sourceforge.net/" +distfiles="http://www.cpan.org/authors/id/R/RU/RUBYKAT/txt2html-${version}.tar.gz" +checksum=8162bd4ff5de1022d69435b86ec8dc77f9379bc509388513a535722aec918203 + +#do_install() { +# vman blib/man1/rename.1p perl-rename.1p +# vbin bin/rename perl-rename +#}