PKGBUILDs/community/perl-ical-parser/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
947 B
Bash

# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-ical-parser
pkgver=1.16
pkgrel=1
pkgdesc="Perl/CPAN Module iCal::Parser : Parse iCalendar files into a data structure"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/iCal-Parser"
license=("GPL" "Artistic")
makedepends=("perl-io-string" "perl-datetime-format-ical" "perl-text-vfile-asdata")
depends=("perl-freezethaw" "perl-io-string" "perl-datetime-format-ical" "perl-text-vfile-asdata")
source=("http://www.cpan.org/authors/id/R/RF/RFRANKEL/iCal-Parser-$pkgver.tar.gz")
build() {
cd $startdir/src/iCal-Parser-$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=('5a796fd5c8f9593fc45a123d1054a2a7')