blob: b8ff39690aaa59e6e7d40e9892c9125fd7e4f24f (
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
35
36
37
38
39
40
41
42
43
44
45
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=xmltv
pkgver=0.5.63
pkgrel=0
pkgdesc="Set of utilities to download tv listings and format them in xml"
url="http://xmltv.org/wiki"
arch="noarch"
license="GPL"
depends="perl-libwww perl-xml-parser perl-xml-twig perl-date-manip perl-xml-writer
perl-timedate perl-unicode-string perl-term-readkey perl-file-slurp perl-xml-libxml
perl-lingua-en-numbers-ordinate perl-lingua-perferred perl-compress-raw-zlib perl-io-gzip
"
depends_dev="perl-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/xmltv/xmltv-$pkgver.tar.bz2"
_builddir="$srcdir"/xmltv-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 yes | perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="d93a74938fb71a250cd0d20aa06c1f61 xmltv-0.5.63.tar.bz2"
sha256sums="d4b0b37c5a8e689fd45d32ca3de173f323669e016ee8eb7635adf91ef34bb772 xmltv-0.5.63.tar.bz2"
sha512sums="8c5e774b1afe70789c8a39a32e371cd5c5c9631d006aad356736019ba7ca31406e9e13e2ec733f98670c4f47acefa01eeee2eb3c32dcd703bd208f1f45172ab6 xmltv-0.5.63.tar.bz2"
|