blob: 2583e94d670e6401ace296b625ed027334de5fc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Allan McRae <mcrae_allan@hotmail.com>
# Contributor: Andrew Simmons <andrew.simmons@gmail.com>
pkgname=xmltv
pkgver=0.5.51
pkgrel=2
pkgdesc="Set of utilities to download tv listings and format them in xml"
arch=(i686 x86_64)
url="http://xmltv.org/wiki/"
license="GPL"
depends=('perl-archive-zip' 'perl-date-manip' 'perl-file-slurp' 'perl-html-tree' \
'perl-http-cache-transparent' 'perl-io-stringy' 'perl-xml-libxml' \
'perl-lingua-en-numbers' 'perl-lingua-en-numbers-ordinate' 'perl-lingua-preferred' \
'perl-soap-lite' 'perl-term-progressbar' 'perl-term-readkey' 'perl-text-bidi' \
'perl-text-kakasi' 'perl-timedate' 'perl-tk-tablematrix' 'perl-unicode-string' \
'perl-unicode-utf8simple' 'perl-www-mechanize' 'perl-xml-twig' 'perl-xml-writer')
source=(http://downloads.sourceforge.net/xmltv/xmltv-${pkgver}.tar.bz2)
md5sums=('b0b3f0d31b0e7fbc2f615024faedfbb7')
build() {
cd $startdir/src/xmltv-${pkgver}
yes | perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor
make || return 1
make DESTDIR=$startdir/pkg PREFIX=/usr install
# remove perllocal.pod and .packlist
find ${startdir}/pkg -name perllocal.pod -delete
find ${startdir}/pkg -name .packlist -delete
}
|