summaryrefslogtreecommitdiff
path: root/community/perl-mail-transport-dbx/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/perl-mail-transport-dbx/PKGBUILD')
-rw-r--r--community/perl-mail-transport-dbx/PKGBUILD23
1 files changed, 16 insertions, 7 deletions
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 <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>
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
}