# Maintainer: Techlive Zheng # Contributor: Filip S. Adamsen # Contributor: David Zaragoza # Contributor: Piotr Beling # Contributor: Wael Nasreddine # Contributor: Guillermo A. Amaral (thewonka) # Contributor: Chih-mao Chen pkgname='perl-convert-uulib' pkgver='1.4' pkgrel='3' pkgdesc='Perl interface to the uulib library (a.k.a. uudeview/uuenview).' _dist=Convert-UUlib arch=('any') url='http://search.cpan.org/~mlehmann/Convert-UUlib/' license=('GPL' 'PerlArtistic') depends=('perl>=5.8.4') options=(!emptydirs) install="install" source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Convert-UUlib-${pkgver}.tar.gz") md5sums=('a6486df1d9ce319406fb9d5a610da759') build(){ cd "${srcdir}"/"${_dist}"-"${pkgver}" unset CPPFLAGS # install module in vendor directories. PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { cd "${srcdir}"/"${_dist}"-"${pkgver}" make install DESTDIR=${pkgdir} # remove perllocal.pod and .packlist find ${pkgdir} -name perllocal.pod -delete find ${pkgdir} -name .packlist -delete }