From 5e8a6a470237711ad18f12dde87deea6f2b8b0e0 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 29 Jun 2011 23:10:39 +0000 Subject: Wed Jun 29 23:10:38 UTC 2011 --- community/perl-datetime-format-mail/PKGBUILD | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'community/perl-datetime-format-mail') diff --git a/community/perl-datetime-format-mail/PKGBUILD b/community/perl-datetime-format-mail/PKGBUILD index 3d798666c..dc6c69605 100644 --- a/community/perl-datetime-format-mail/PKGBUILD +++ b/community/perl-datetime-format-mail/PKGBUILD @@ -3,7 +3,7 @@ pkgname=perl-datetime-format-mail pkgver=0.3001 -pkgrel=5 +pkgrel=7 pkgdesc="Convert between DateTime and RFC2822/822 formats " arch=('i686' 'x86_64') url="http://search.cpan.org/dist/DateTime-Format-Mail" @@ -14,10 +14,13 @@ source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Format-Mail-$pkgver md5sums=('15e36249e866463bd0237262a8e43b16') build() { - cd $startdir/src/DateTime-Format-Mail-$pkgver + cd $srcdir/DateTime-Format-Mail-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make - make install DESTDIR=$startdir/pkg - find $startdir/pkg -name '.packlist' -delete - find $startdir/pkg -name '*.pod' -delete +} +package() { + cd $srcdir/DateTime-Format-Mail-$pkgver + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete } -- cgit v1.2.3-54-g00ecf