Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jul 30th, 2011  |  syntax: None  |  size: 0.85 KB  |  views: 50  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. pkgname=perl-net-imap-simple
  2. _realname=Net-IMAP-Simple
  3. pkgver=1.2023
  4. pkgrel=1
  5. pkgdesc="Net::IMAP::Simple - a simple IMAP access library"
  6. arch=(i686 x86_64)
  7. license=('GPL' 'PerlArtistic')
  8. url="http://search.cpan.org/dist/${_realname}/"
  9. depends=('perl>=5.10.0')
  10. options=(!emptydirs)
  11. replaces=('net-imap-simple')
  12. provides=('net-imap-simple')
  13. source=(http://search.cpan.org/CPAN/authors/id/J/JE/JETTERO/Net-IMAP-Simple-${pkgver}.tar.gz)
  14. md5sums=('beacb817aa0669606637ed48218de890')
  15.  
  16. build() {
  17.   cd ${startdir}/src/${_realname}-${pkgver}
  18.   # install module in vendor directories.
  19.   yes n | perl Makefile.PL INSTALLDIRS=vendor || return 1
  20.   make  || return 1
  21.   make install DESTDIR=${startdir}/pkg || return 1
  22.  
  23.   # remove perllocal.pod and .packlist
  24.   find ${startdir}/pkg -name perllocal.pod -delete
  25.   find ${startdir}/pkg -name .packlist -delete
  26. }