summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 14cfecab2ae744c6c1a6a791a0b401edbb25d8b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# CPAN Name  : Email::Outlook::Message
# Maintainer: Jose Riha <jose 1711 at gmail dot com>
# Contributor: zman0900
# Contributor: bidulock
pkgname=perl-email-outlook-message
pkgver=0.921
pkgrel=1
pkgdesc="Perl module to read Outlook .msg files"
arch=("any")
url="https://search.cpan.org/dist/Email-Outlook-Message/"
license=("PerlArtistic" "GPL")
depends=("perl" "perl-io-string" "perl-ole-storage-lite" "perl-email-mime-contenttype" "perl-email-mime" "perl-email-sender" "perl-mro-compat" "perl-module-pluggable")
source=(https://search.cpan.org/CPAN/authors/id/M/MV/MVZ/Email-Outlook-Message-${pkgver}.tar.gz)
options=(!emptydirs)
md5sums=('e39aa3abc928bce28c8973516a5a3d1c')

build() {
  cd "$srcdir/Email-Outlook-Message-${pkgver}"
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

# check() {
#  cd "$srcdir/Email-Outlook-Message-${pkgver}"
#  make test
#}

package() {
  cd "$srcdir/Email-Outlook-Message-${pkgver}"
  make install DESTDIR="$pkgdir"
  find "$pkgdir" \( -name .packlist -o -name perllocal.pod \) -delete
}