Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

perl-email-valid 0.184 PKGBUILD

By: a guest on Dec 7th, 2010  |  syntax: Bash  |  size: 0.95 KB  |  hits: 174  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }