View difference between Paste ID: Vc2uUQxJ and
SHOW:
|
|
- or go back to the newest paste.
1 | - | |
1 | + | # Maintainer: Abhishek Dasgupta <abhidg@gmail.com> |
2 | # Contributor: Georg Grabler (STiAT) <ggrabler@gmail.com> | |
3 | # Contributor: Oliver Charles (aCiD2) <oliver.g.charles@googlemail.com> | |
4 | # Contributor: Martín Cigorraga (msx) <msx@archlinux.us> | |
5 | ||
6 | ||
7 | pkgname=perl-email-valid | |
8 | pkgver=0.184 | |
9 | pkgrel=1 | |
10 | pkgdesc="Email::Valid - Check validity of Internet email addresses" | |
11 | url="http://search.cpan.org/~rjbs/Email-Valid" | |
12 | license=('PerlArtistic' 'GPL') | |
13 | depends=('perl' 'perl-mailtools') | |
14 | arch=('any') | |
15 | options=('!emptydirs') | |
16 | source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Valid-$pkgver.tar.gz) | |
17 | md5sums=('c664a6aa6a228d3de80153fbf14cd326') | |
18 | ||
19 | ||
20 | build() { | |
21 | DIST_DIR="${srcdir}/Email-Valid-$pkgver" | |
22 | export PERL_MM_USE_DEFAULT=1 | |
23 | { | |
24 | cd "$DIST_DIR" && | |
25 | perl Makefile.PL INSTALLDIRS=vendor && | |
26 | make && | |
27 | make test && | |
28 | make DESTDIR="$pkgdir" install; | |
29 | } || return 1; | |
30 | ||
31 | find "$pkgdir" -name .packlist -o -name perllocal.pod -delete | |
32 | ||
33 | } |