diff options
Diffstat (limited to 'abs/core/perl_modules/perl-xml-rss')
-rw-r--r-- | abs/core/perl_modules/perl-xml-rss/PKGBUILD | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/abs/core/perl_modules/perl-xml-rss/PKGBUILD b/abs/core/perl_modules/perl-xml-rss/PKGBUILD index 1d5a68d..0178106 100644 --- a/abs/core/perl_modules/perl-xml-rss/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-rss/PKGBUILD @@ -1,22 +1,29 @@ +# $Id: PKGBUILD 65992 2012-02-22 14:14:06Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Francois Charette <firmicus@gmx.net> pkgname=perl-xml-rss -pkgver=1.43 -pkgrel=1 +pkgver=1.49 +pkgrel=2 pkgdesc="Parse or create Rich Site Summaries (RSS)" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~ABH/XML-RSS" +arch=('any') +url="http://search.cpan.org/dist/XML-RSS" license=('GPL' 'PerlArtistic') -depends=('perl-datetime' 'perl-datetime-format-mail' 'perl-datetime-format-w3cdtf' 'perl-html-parser' 'perlxml>=2.23') +depends=('perl-datetime' 'perl-datetime-format-mail' 'perl-datetime-format-w3cdtf' + 'perl-html-parser' 'perlxml>=2.23') options=('!emptydirs') source=(http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-RSS-$pkgver.tar.gz) +md5sums=('b22c5ca9c226ca7b7698a9387f2f1908') build() { - cd $startdir/src/XML-RSS-$pkgver - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make install DESTDIR=$startdir/pkg || return 1 - find $startdir/pkg -name '.packlist' -delete - find $startdir/pkg -name '*.pod' -delete + cd $srcdir/XML-RSS-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd $srcdir/XML-RSS-$pkgver + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete } -md5sums=('dce2dd92ad4cfb34aa8e928a35b73648') |