summaryrefslogtreecommitdiffstats
path: root/abs/core/xmltv/PKGBUILD
blob: e16f791d71a113b39886ab201f44fae1fd5641d5 (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
30
31
32
33
34
# $Id: PKGBUILD,v 1.7 2009/01/28 12:14:17 allan Exp $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Andrew Simmons <andrew.simmons@gmail.com>

pkgname=xmltv
pkgver=0.5.54
pkgrel=1
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-http-cache-transparent' 'perl-html-tree' 'perl-io-stringy' \
         'perl-lingua-en-numbers-ordinate' 'perl-lingua-preferred' 'perl-soap-lite' \
         'perl-term-progressbar' 'perl-term-readkey' 'perl-text-kakasi' \
         'perl-timedate' 'perl-tk-tablematrix' 'perl-unicode-string' \
         'perl-unicode-utf8simple' 'perl-www-mechanize' 'perl-xml-dom' 'libxml2' \
         '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=('b006f72f45a3e7be3e64f88813275403')

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
}