summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-mime-lite/PKGBUILD
blob: 4685a91627e440db7a7c0daac451765e1dbc4726 (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
# $Id$
# Maintainer: kevin <kevin@archlinux.org>
# Contributor: Eric Johnson <eric@coding-zone.com>

pkgname=perl-mime-lite
pkgver=3.030
pkgrel=3
pkgdesc="Perl module that provides lightweight MIME generator"
arch=('any')
url="http://search.cpan.org/dist/MIME-Lite/"
license=('GPL' 'PerlArtistic')
depends=('perl-email-date-format' 'perl-mailtools' 'perl-mime-types' 'perl')
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/MIME-Lite-${pkgver}.tar.gz")
md5sums=('5a6d90329e049eee77248d667343acc7')

build() {
  cd MIME-Lite-${pkgver}
  perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd MIME-Lite-${pkgver}
  make test
}

package() {
  cd MIME-Lite-${pkgver}
  make DESTDIR="${pkgdir}" install
}