blob: 1b8d6d6d4c7645ee3a7929e9786098c2f538e59a (
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: Francesco Colista <fcolista@alpinelinux.org>
pkgname=xmltv
pkgver=0.5.67
pkgrel=0
pkgdesc="Set of utilities to download tv listings and format them in xml"
url="http://xmltv.org/wiki"
arch="noarch"
license="GPL2"
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
perl-io-compress perl-term-progressbar perl-xml-treepp"
depends_dev=""
makedepends="$depends_dev perl-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="7f95c24f91a7ac48cf81c32b21dc0492 xmltv-0.5.67.tar.bz2"
sha256sums="f5ee784961be2a35035d55ef39bcba0ccfd7aecfa5359c1a890cb411c1c7a694 xmltv-0.5.67.tar.bz2"
sha512sums="2451634bf63ed8f5ee1ef4eff23fa5cfe2a98422e8ae75bf055951d5139d8b7ff03ece6aeee9b3ae81abba5a3edd66e64bd9ae8f610f92cb97ec017b839eee1f xmltv-0.5.67.tar.bz2"
|