summaryrefslogtreecommitdiffstats
path: root/abs/core/xmltv/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2017-07-03 20:04:07 (GMT)
committerBritney Fransen <brfransen@gmail.com>2017-07-03 20:04:07 (GMT)
commit71c74c13ec9f08a3ce40f74bd632324d8becfc22 (patch)
tree6a78e03a79cca217e6fd2bb6b61ecb3ffc19f9c8 /abs/core/xmltv/PKGBUILD
parent25a19e514f1b1f394c317f6ee3f40df7b4f54128 (diff)
downloadlinhes_pkgbuild-71c74c13ec9f08a3ce40f74bd632324d8becfc22.zip
linhes_pkgbuild-71c74c13ec9f08a3ce40f74bd632324d8becfc22.tar.gz
linhes_pkgbuild-71c74c13ec9f08a3ce40f74bd632324d8becfc22.tar.bz2
xmltv: update to 0.5.69
Diffstat (limited to 'abs/core/xmltv/PKGBUILD')
-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
}
-