1 # Contributor: troxy <aurpkg.5.troxor at spamgourmet dot com>
2 pkgname=perl-time-period
5 pkgdesc="Perl module to deal with time periods"
6 url="http://search.cpan.org/~pryan/Period-1.20/Period.pm"
10 arch=('i686' 'x86_64')
11 source=(http://search.cpan.org/CPAN/authors/id/P/PR/PRYAN/Period-1.20.tar.gz)
12 md5sums=('63b073af8ec96e7fa48801cd6fcccdd1')
15 cd $startdir/src/Period-$pkgver
16 eval `perl -V:archname`
17 /usr/bin/perl Makefile.PL \
18 INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
19 INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
20 INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname}
21 /usr/bin/make || return 1
22 /usr/bin/make DESTDIR=$startdir/pkg install
23 /usr/bin/find $startdir/pkg -name '.packlist' -exec rm '{}' \;
24 /usr/bin/find $startdir/pkg -name '*.pod' -exec rm '{}' \;