blob: 0c1a68a324cdae86b4fce7b530e0103237b4705a (
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.66
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
"
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="1ad51ff5a02e8320bd908c7908c49661 xmltv-0.5.66.tar.bz2"
sha256sums="220a06f032e898b6d2b854fc5c651365969f50f4e2df3767983eaa573e683e8e xmltv-0.5.66.tar.bz2"
sha512sums="90f934063fa43858ca080f559c80d6bae46a1c5dc3674aa9d3a87aa65bc1491f3d39d8d2cc9f4781829205824a374d028c072c60519eeee0e7218fa823e2babf xmltv-0.5.66.tar.bz2"
|