# Contributor: Leonardo Arena # Maintainer: Leonardo Arena pkgname=perl-compress-raw-bzip2 _realname=Compress-Raw-Bzip2 pkgver=2.070 pkgrel=0 pkgdesc="Perl low-level interface to bzip2 compression library" url="http://search.cpan.org/~pmqs/Compress-Raw-Bzip2-2.024/" 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 # remove man pages already provided by perl-doc rm -rf "$pkgdir"/usr/share/man || return 1 } md5sums="896d52fc87666ca924275023748dcb11 Compress-Raw-Bzip2-2.070.tar.gz" sha256sums="c856dd4e1b7805c17fb2149972bc93a0b6ac6ccf7dd5545f08b6706821bebc66 Compress-Raw-Bzip2-2.070.tar.gz" sha512sums="a8061937b152c81761b5460d7d53306a948f97498cbcdec483c08c1bf5872bf117863993469ea16cac97c0f38a306a3cd728012bb776ebce4de0268dae738890 Compress-Raw-Bzip2-2.070.tar.gz"