diff options
author | Britney Fransen <brfransen@gmail.com> | 2017-12-09 14:34:12 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2017-12-09 14:34:12 (GMT) |
commit | f06d8e1bedfcf6d424a4736d43f366d95fb33690 (patch) | |
tree | a78baa8ac9914820a0c470c391772bcdb9e17b4d /abs/core/xmltv/PKGBUILD | |
parent | ada13c3f17134c5885f686509d128080450efa1b (diff) | |
parent | e4b0dec19f02e6d8e995b19a22110cac26f07ac4 (diff) | |
download | linhes_pkgbuild-f06d8e1bedfcf6d424a4736d43f366d95fb33690.zip linhes_pkgbuild-f06d8e1bedfcf6d424a4736d43f366d95fb33690.tar.gz linhes_pkgbuild-f06d8e1bedfcf6d424a4736d43f366d95fb33690.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/core/xmltv/PKGBUILD')
-rw-r--r--[-rwxr-xr-x] | abs/core/xmltv/PKGBUILD | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/abs/core/xmltv/PKGBUILD b/abs/core/xmltv/PKGBUILD index 3f2ed58..144d2ab 100755..100644 --- a/abs/core/xmltv/PKGBUILD +++ b/abs/core/xmltv/PKGBUILD @@ -1,10 +1,11 @@ -# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> +# Maintainer: K. Hampf <k.hampf@gmail.com> +# Submitter: Stefan Husmann <stefan-husmann@t-online.de> # Contributor: Allan McRae <allan@archlinux.org> # Contributor: Andrew Simmons <andrew.simmons@gmail.com> 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 } - |