# Contributor: Leonardo Arena # Maintainer: Leonardo Arena pkgname=perl-compress-raw-bzip2 _realname=Compress-Raw-Bzip2 pkgver=2.069 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="18c4312b4fb8b644e9d697803687ea4f Compress-Raw-Bzip2-2.069.tar.gz" sha256sums="928d07069dbe71f20bfc664830ee035e3964521c72b1cc80ea3340dfeb0f915b Compress-Raw-Bzip2-2.069.tar.gz" sha512sums="e001e828fcf2b5d8b75f7588d627edf475afc56c872c99d704853a30b212a09b0fc289762a98295f9025f0be7cb6e1c213ceaeb2a9251306e303a654eeb34436 Compress-Raw-Bzip2-2.069.tar.gz"