Advertisement
Guest User

Untitled

a guest
Jul 5th, 2011
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.25 KB | None | 0 0
  1. # Maintainer: Techlivezheng <techlivezheng [at] gmail [dot] com>
  2. # Contributor: Filip S. Adamsen <fsa [at] fsadev [dot] com>
  3. # Contributor: David Zaragoza <david@zaragoza.com.ve>
  4. # Contributor: Piotr Beling <qwak@w8.pl>
  5. # Contributor: Wael Nasreddine <wael@phoenixlinux.org>
  6. # Contributor: Guillermo A. Amaral <me@guillermoamaral.com> (thewonka)
  7. # Contributor: Chih-mao Chen <pkmx.tw@gmail.com>
  8.  
  9. pkgname='perl-convert-uulib'
  10. pkgver='1.40'
  11. _pkgrealver='1.4'
  12. pkgrel='1'
  13. pkgdesc='Perl interface to the uulib library (a.k.a. uudeview/uuenview).'
  14. url='http://search.cpan.org/~mlehmann/Convert-UUlib/'
  15. arch=('i686' 'x86_64')
  16. license=('GPL' 'Artistic')
  17. depends=('perl>=5.8.4')
  18. options=(!emptydirs)
  19. install="${pkgname}.install"
  20. source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Convert-UUlib-${_pkgrealver}.tar.gz")
  21. md5sums=('a6486df1d9ce319406fb9d5a610da759')
  22.  
  23. build(){
  24.     cd "${srcdir}/Convert-UUlib-${_pkgrealver}"
  25.  
  26.     # install module in vendor directories.
  27.     PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
  28.     make || return 1
  29.     make install DESTDIR=${pkgdir} || return 1
  30.  
  31.     # remove perllocal.pod and .packlist
  32.     find ${pkgdir} -name perllocal.pod -delete
  33.     find ${pkgdir} -name .packlist -delete
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement