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

perl-convert-uulib PKGBUILD

By: a guest on Feb 3rd, 2011  |  syntax: Bash  |  size: 1.11 KB  |  hits: 100  |  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. # Contributor: Piotr Beling <qwak@w8.pl>
  2. # Contributor: Wael Nasreddine <wael@phoenixlinux.org>
  3. # Maintainer: Guillermo A. Amaral <me@guillermoamaral.com> (thewonka)
  4. # Contributor: David Zaragoza <david@zaragoza.com.ve>
  5. # Contributor: Filip S. Adamsen <fsa [at] fsadev [dot] com>
  6.  
  7. pkgname='perl-convert-uulib'
  8. pkgver='1.33'
  9. pkgrel='2'
  10. pkgdesc='Perl interface to the uulib library (a.k.a. uudeview/uuenview).'
  11. arch=('i686' 'x86_64')
  12. url='http://search.cpan.org/~mlehmann/Convert-UUlib/'
  13. license=('GPL' 'Artistic')
  14. depends=('perl>=5.8.4')
  15. options=(!emptydirs)
  16. install="${pkgname}.install"
  17. source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Convert-UUlib-${pkgver}.tar.gz")
  18. md5sums=('d4e3330562e5d4f6c022b0a0619a2c71')
  19.  
  20. build()
  21. {
  22.   cd "$srcdir/Convert-UUlib-$pkgver"
  23.  
  24.   # install module in vendor directories.
  25.   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
  26.   make || return 1
  27.   make install DESTDIR="$pkgdir/" || return 1
  28.  
  29.   # remove perllocal.pod and .packlist
  30.   find "$pkgdir" -name perllocal.pod -delete
  31.   find "$pkgdir" -name .packlist -delete
  32. }
  33.  
  34. # vim:set ts=2 sw=2 et: