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

23 lines
796 B
Bash

# Contributor: Francois Charette <firmicus@gmx.net>
pkgname=perl-xml-atom
pkgver=0.35
pkgrel=1
pkgdesc="Atom feed and API implementation "
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/XML-Atom"
license=('GPL' 'PerlArtistic')
depends=('perl-class-data-inheritable' 'perl-uri' 'perl-xml-libxml>=1.64' 'perl-xml-xpath')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/M/MI/MIYAGAWA/XML-Atom-$pkgver.tar.gz)
build() {
cd $startdir/src/XML-Atom-$pkgver
sed -i "s|recommends('LWP::Authen::Wsse'),||g" Makefile.PL
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=('d6b1b28b32db100de5dbb45a3f561953')