updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / perl-mail-sender / PKGBUILD
blob0ae927bc3643d2532687fcede2406684855f7f77
1 # based on PKGBUILD generated by cpan4pacman
2 # Contributor: xduugu
3 pkgname=perl-mail-sender
4 _cpanname=Mail-Sender
5 pkgver=0.8.16
6 pkgrel=1
7 pkgdesc="socket() based mail with attachments, SMTP"
8 arch=('any')
9 url="http://search.cpan.org/dist/${_cpanname}"
10 license=('GPL' 'PerlArtistic')
11 depends=('perl')
12 options=('!emptydirs')
13 source=(http://www.cpan.org/authors/id/J/JE/JENDA/${_cpanname}-${pkgver}.tar.gz) 
14 md5sums=('e5d88236202b3d39567ade7d560797b0')
16 build() {
17   cd "$srcdir/${_cpanname}-${pkgver}"
18   sed -i '/^auto_install/d' Makefile.PL
20 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 
21   make || return 1
22   make install DESTDIR="$pkgdir" || return 1
24   find "$pkgdir" -name '.packlist' -delete
25   find "$pkgdir" -name '*.pod' -delete