description="CPAN Test::Pod::Coverage module"
url="http://search.cpan.org/dist/Test-Pod-Coverage/"

packager="Grat-OS Team"

makedepends=(perl-pod-coverage)
run=(perl)

name=perl-test-pod-coverage
version=1.10

source=(http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/Test-Pod-Coverage-$version.tar.gz)

build() {
cd Test-Pod-Coverage-$version

perl Makefile.PL

make OPTIMIZE="$CFLAGS" || exit 1
make install INSTALLDIRS=vendor DESTDIR=$PKG || exit 1

# Remove perllocal.pod and .packlist if present in the package
for i in perllocal.pod .packlist; do
    find $PKG -name "$i" -exec rm -rf {} \;
done
}
