diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-25 07:19:38 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-25 07:20:05 +0000 |
commit | d474fa1320e23acb028f4e7c8ae7a04c439f76d9 (patch) | |
tree | 442a995e5f2e29316fb38ea8d07f761e23215f82 /community/xmltv | |
parent | 47ed8705bc8fc39cb694f5208bb4dbb84f1809d8 (diff) | |
download | aports-d474fa1320e23acb028f4e7c8ae7a04c439f76d9.tar.bz2 aports-d474fa1320e23acb028f4e7c8ae7a04c439f76d9.tar.xz |
community/xmltv: moved from testing,fixed build with correct name perl-lingua-preferred
Diffstat (limited to 'community/xmltv')
-rw-r--r-- | community/xmltv/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/community/xmltv/APKBUILD b/community/xmltv/APKBUILD new file mode 100644 index 0000000000..970848b851 --- /dev/null +++ b/community/xmltv/APKBUILD @@ -0,0 +1,45 @@ +# Con://github.com/saltstack/salttributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=xmltv +pkgver=0.5.68 +pkgrel=1 +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-preferred 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="2297791e005360fafa11ade20e338df0 xmltv-0.5.68.tar.bz2" +sha256sums="ed6589118943f1028b318dea2cd30c395c41b8abc9bbf106b3787f095d79919d xmltv-0.5.68.tar.bz2" +sha512sums="bf21837d3804058c6cbfeb0e75af57e5d6e3cd35da40c96291c951bdadc3b4dbfa64c8145a4e2129713b65e7540e1d5da08fe6fbab4c7561ec448f2ce07acbd5 xmltv-0.5.68.tar.bz2" |