# Contributor: Leonardo Arena # Maintainer: Leonardo Arena pkgname=perl-compress-raw-zlib _realname=Compress-Raw-Zlib pkgver=2.070 pkgrel=0 pkgdesc="Perl low-level interface to zlib compression library" url="http://search.cpan.org/dist/Compress-Raw-Zlib/" arch="all" license="GPL PerlArtistic" depends="perl" makedepends="perl-dev" install= subpackages="" source="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/${_realname}-${pkgver}.tar.gz" _builddir="$srcdir/$_realname-$pkgver" build() { cd $_builddir PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 #PERL_MM_USE_DEFAULT=1 perl Makefile.PL || return 1 make || return 1 } package() { cd $_builddir make DESTDIR="$pkgdir" install # creates file collision among perl modules find "$pkgdir" -name perllocal.pod -delete # man pages are already provided by perl-doc rm -rf "$pkgdir"/usr/share/man || return 1 } md5sums="95458e9d9363adafd2bd9af4e1d00aa3 Compress-Raw-Zlib-2.070.tar.gz" sha256sums="bba422062da6ed833329abf978ac43e56945717b5551a45f7a6f7e7e12ad8f7e Compress-Raw-Zlib-2.070.tar.gz" sha512sums="cb2b777adecaaa345d0ca38da7ac84a21ab289a3fa8391496c63023057d5d34ecd8a6689f81e38707586a77a255f0cf9dba2530dc1d9778a139b5ee5c355e90e Compress-Raw-Zlib-2.070.tar.gz"