summaryrefslogtreecommitdiffstats
path: root/abs/core/xmltv
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/xmltv')
-rw-r--r--[-rwxr-xr-x]abs/core/xmltv/PKGBUILD37
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
}
-