summaryrefslogtreecommitdiff
path: root/community/perl-datetime-format-mail
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
committerroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
commit5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (patch)
tree438c05155823f16b71f4277fef949610bf6fe826 /community/perl-datetime-format-mail
parent108636e69eaeef67f4e7263c7f26105e25979e89 (diff)
Wed Jun 29 23:10:38 UTC 2011
Diffstat (limited to 'community/perl-datetime-format-mail')
-rw-r--r--community/perl-datetime-format-mail/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
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
}