blob: d976e52ff0d9ce81fee98911a225bf5a4722ee47 (
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
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=xmltv
pkgver=0.6.1
pkgrel=1
pkgdesc="Set of utilities to download tv listings and format them in xml"
url="http://xmltv.org/wiki"
arch="noarch"
license="GPL-2.0"
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-preferred perl-compress-raw-zlib perl-io-gzip
perl-io-compress perl-term-progressbar perl-xml-treepp"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/XMLTV/$pkgname/archive/v$pkgver.tar.gz
test_tv_imdb.t.patch
"
builddir="$srcdir"/xmltv-$pkgver
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 yes | perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="137dad875c6f7f77fb986b4662b411766424676df0a2422f3dc123c8cec4e1dff123ea68577add65c0e5bcf2d0bdf89d7fba0ed423502ec27e2aa82ec6b10bc2 xmltv-0.6.1.tar.gz
f41ffef7c3ca5a6b316855607d4fbc41913e4503eaac34590fa4048b528ed0ee0595a364d192cc7e5c2edaaa79e910f77c66bac727c8b1edf8043428318764bc test_tv_imdb.t.patch"
|