PKGBUILDs/community/xmltv/PKGBUILD
2009-10-09 21:15:33 -05:00

33 lines
No EOL
1.3 KiB
Bash
Executable file

# Maintainer: 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.56
pkgrel=1
pkgdesc="Set of utilities to download tv listings and format them in xml"
arch=('any')
url="http://xmltv.org/wiki/"
license=('GPL')
depends=('perl-archive-zip' 'perl-date-manip' 'perl-file-slurp'
'perl-http-cache-transparent' 'perl-http-response-encoding'
'perl-html-tree' 'perl-io-stringy' 'perl-lingua-en-numbers-ordinate'
'perl-lingua-preferred' 'perl-soap-lite' 'perl-term-progressbar'
'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')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('308c01dc50f9f138bd9ada7483e2877b')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
yes | perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor
make || return 1
make DESTDIR=${pkgdir} PREFIX=/usr install
# remove perllocal.pod and .packlist
find ${pkgdir} -name perllocal.pod -delete
find ${pkgdir} -name .packlist -delete
}