mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
29 lines
896 B
Bash
29 lines
896 B
Bash
# $Id: PKGBUILD 29064 2009-03-05 01:49:51Z kevin $
|
|
# Maintainer: Kevin Piche <kevin@archlinux.org>
|
|
# Contributor: Eric Johnson <eric@coding-zone.com>
|
|
|
|
pkgname=perl-mailtools
|
|
_realname=MailTools
|
|
pkgver=2.04
|
|
pkgrel=1
|
|
pkgdesc="Perl module that provides email tools"
|
|
arch=(i686 x86_64)
|
|
license=('PerlArtistic')
|
|
url="http://search.cpan.org/dist/${_realname}/"
|
|
depends=('perl>=5.10.0')
|
|
options=(!emptydirs)
|
|
source=(http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/${_realname}-${pkgver}.tar.gz)
|
|
md5sums=('d21ea4f375d1e5f3da6b0a4e8ba1e2c6')
|
|
|
|
build() {
|
|
cd ${srcdir}/${_realname}-${pkgver}
|
|
# install module in vendor directories.
|
|
perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make install DESTDIR=${pkgdir} || return 1
|
|
|
|
# remove perllocal.pod and .packlist
|
|
find ${pkgdir} -name perllocal.pod -delete
|
|
find ${pkgdir} -name .packlist -delete
|
|
}
|
|
# vim: ts=2 sw=2 et ft=sh
|