diff options
Diffstat (limited to 'community/perl-datetime-format-mail/PKGBUILD')
-rw-r--r-- | community/perl-datetime-format-mail/PKGBUILD | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/community/perl-datetime-format-mail/PKGBUILD b/community/perl-datetime-format-mail/PKGBUILD index 9793fdcbb..c2e9758d1 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' 'mips64el') 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 } |