PKGBUILDs/community/perl-xml-rss/PKGBUILD
2009-10-09 21:15:33 -05:00

22 lines
794 B
Bash

# Contributor: Francois Charette <firmicus@gmx.net>
pkgname=perl-xml-rss
pkgver=1.43
pkgrel=1
pkgdesc="Parse or create Rich Site Summaries (RSS)"
arch=('i686' 'x86_64')
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')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-RSS-$pkgver.tar.gz)
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
}
md5sums=('dce2dd92ad4cfb34aa8e928a35b73648')