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-mail-transport-dbx/PKGBUILD | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'community/perl-mail-transport-dbx/PKGBUILD') diff --git a/community/perl-mail-transport-dbx/PKGBUILD b/community/perl-mail-transport-dbx/PKGBUILD index b5be3e8f7..15244af54 100644 --- a/community/perl-mail-transport-dbx/PKGBUILD +++ b/community/perl-mail-transport-dbx/PKGBUILD @@ -1,22 +1,31 @@ -# $Id: PKGBUILD 35691 2010-12-22 01:21:45Z tdziedzic $ +# $Id: PKGBUILD 47596 2011-05-23 20:45:10Z tdziedzic $ # Maintainer: Sergej Pupykin # Maintainer: Charles Mauch pkgname=perl-mail-transport-dbx pkgver=0.07 -pkgrel=5 +pkgrel=6 pkgdesc="Perl/CPAN Module Mail::Transport::Dbx : Parse Outlook Express mailboxes" arch=("i686" "x86_64") url="http://search.cpan.org/dist/Mail-Transport-Dbx" license=("GPL" "PerlArtistic") -source=("http://www.cpan.org/authors/id/V/VP/VPARSEVAL/Mail-Transport-Dbx-$pkgver.tar.gz") +options=('!emptydirs') +source=("http://www.cpan.org/authors/id/V/VP/VPARSEVAL/Mail-Transport-Dbx-${pkgver}.tar.gz") md5sums=('4dcf5346a67c0a7f861cb2bb51a7d14e') build() { - cd $srcdir/Mail-Transport-Dbx-$pkgver + cd Mail-Transport-Dbx-${pkgver} + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make - make install DESTDIR=$pkgdir - find $pkgdir -name '.packlist' -delete - find $pkgdir -name '*.pod' -delete +} + +package() { + cd Mail-Transport-Dbx-${pkgver} + + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete } -- cgit v1.2.3-54-g00ecf