From 71c74c13ec9f08a3ce40f74bd632324d8becfc22 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Mon, 3 Jul 2017 20:04:07 +0000 Subject: xmltv: update to 0.5.69 --- abs/core/xmltv/PKGBUILD | 37 ++++++++++++++++++++++++------------- 1 file changed, 24 insertions(+), 13 deletions(-) mode change 100755 => 100644 abs/core/xmltv/PKGBUILD diff --git a/abs/core/xmltv/PKGBUILD b/abs/core/xmltv/PKGBUILD old mode 100755 new mode 100644 index 3f2ed58..144d2ab --- a/abs/core/xmltv/PKGBUILD +++ b/abs/core/xmltv/PKGBUILD @@ -1,10 +1,11 @@ -# Maintainer: Stefan Husmann +# Maintainer: K. Hampf +# Submitter: Stefan Husmann # Contributor: Allan McRae # Contributor: Andrew Simmons pkgname=xmltv -pkgver=0.5.59 -pkgrel=2 +pkgver=0.5.69 +pkgrel=1 pkgdesc="Set of utilities to download tv listings and format them in xml" arch=('any') url="http://xmltv.org/wiki/" @@ -17,22 +18,32 @@ depends=('perl-archive-zip' 'perl-datetime' 'perl-date-manip' 'perl-term-readkey' 'perl-timedate' 'perl-tk-tablematrix' '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') -source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2) -md5sums=('29497a1d165ef0cdedfe376e04c06903') + 'perl-xml-twig' 'perl-xml-writer' 'perl-parse-recdescent' 'perl-cgi' + 'perl-xml-treepp' 'perl-datetime-format-iso8601' 'perl-json') +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2") +md5sums=('1b0128f97755e7769177d7930e03ad74') build() { - cd ${srcdir}/${pkgname}-${pkgver} - yes | perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor - + cd "$pkgname-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + yes | /usr/bin/perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor make } + +check() { + cd "$pkgname-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 + make test +} + package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} PREFIX=/usr install - + cd "$pkgname-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + make install DESTDIR="$pkgdir" + # remove perllocal.pod and .packlist find ${pkgdir} -name perllocal.pod -delete find ${pkgdir} -name .packlist -delete } - -- cgit v0.12