diff options
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/xmltv/PKGBUILD | 18 | ||||
-rw-r--r-- | abs/core/xmltv/PKGBUILD.sig | 12 |
2 files changed, 28 insertions, 2 deletions
diff --git a/abs/core/xmltv/PKGBUILD b/abs/core/xmltv/PKGBUILD index 144d2ab..56b876c 100644 --- a/abs/core/xmltv/PKGBUILD +++ b/abs/core/xmltv/PKGBUILD @@ -2,10 +2,11 @@ # Submitter: Stefan Husmann <stefan-husmann@t-online.de> # Contributor: Allan McRae <allan@archlinux.org> # Contributor: Andrew Simmons <andrew.simmons@gmail.com> +# Contributor: "blueowl" <blueowl@centrum.cz> pkgname=xmltv pkgver=0.5.69 -pkgrel=1 +pkgrel=2 pkgdesc="Set of utilities to download tv listings and format them in xml" arch=('any') url="http://xmltv.org/wiki/" @@ -19,7 +20,8 @@ depends=('perl-archive-zip' 'perl-datetime' 'perl-date-manip' 'perl-unicode-string' 'perl-unicode-utf8simple' 'perl-www-mechanize' 'perl-xml-dom' 'perl-xml-libxml' 'perl-xml-libxslt' 'perl-xml-simple' 'perl-xml-twig' 'perl-xml-writer' 'perl-parse-recdescent' 'perl-cgi' - 'perl-xml-treepp' 'perl-datetime-format-iso8601' 'perl-json') + 'perl-xml-treepp' 'perl-datetime-format-iso8601' 'perl-json' + 'perl-lwp-protocol-https') source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2") md5sums=('1b0128f97755e7769177d7930e03ad74') @@ -47,3 +49,15 @@ package() { find ${pkgdir} -name perllocal.pod -delete find ${pkgdir} -name .packlist -delete } + +prepare() { + # To build corectly with Perl 5.26 + # see https://sourceforge.net/p/xmltv/mailman/message/36001436/ + # and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865045 + sed "s/use POSIX 'tmpnam';//" -i "$pkgname-$pkgver"/filter/tv_to_latex + sed "s/use POSIX 'tmpnam';//" -i "$pkgname-$pkgver"/filter/tv_to_text + sed "s/\(lib\/set_share_dir.pl';\)/.\/\1/" -i "$pkgname-$pkgver"/grab/it/tv_grab_it.PL + sed "s/\(filter\/Grep.pm';\)/.\/\1/" -i "$pkgname-$pkgver"/filter/tv_grep.PL + sed "s/\(lib\/XMLTV.pm.in';\)/.\/\1/" -i "$pkgname-$pkgver"/lib/XMLTV.pm.PL + sed "s/\(lib\/Ask\/Term.pm';\)/.\/\1/" -i "$pkgname-$pkgver"/Makefile.PL +} diff --git a/abs/core/xmltv/PKGBUILD.sig b/abs/core/xmltv/PKGBUILD.sig new file mode 100644 index 0000000..ec25ce2 --- /dev/null +++ b/abs/core/xmltv/PKGBUILD.sig @@ -0,0 +1,12 @@ +-----BEGIN PGP SIGNATURE----- + +iQFRBAABCAA7FiEEvzIK2SIsJhBtZ+wcJLJ8J1xiaNMFAlmtsgIdHGtoYW1wZkB1 +c2Vycy5zb3VyY2Vmb3JnZS5uZXQACgkQJLJ8J1xiaNOWgQf/eYV0w0NiTyUQcVdU +3qIn2SY34A0PqNy0uQ+NPCyvUlkTNpxYplJDKOpnnq/g5TnX3xhDB3Bu+qRR4IOy +80CgYSno3Z/vJ89F58RdqLzUF1czJd1mH9xqb9WirVLCPCq/KYGc7M0gS4cPp6eW +xLl0DuQPs7LROCB4a5QCv+CjwzOP8whlmdp21zcENVqICvgrTmfV69QOdY7UQtGS +PjiijhDv2diarof4/leEkJ+YJzs9wMIv0kL2QyQwdBQicI19RaNJAfaziFyJKH+x +A/hcUGuoSCsCjwssXJUc66SVBXYRFu78+CgKwR+cbK0MZs9EUAPh7Z6xs4aEkMuA +oGKOmQ== +=2etZ +-----END PGP SIGNATURE----- |