milis/talimatname/genel/perl-test-pod/talimat

23 lines
604 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
# Description: Check for POD errors in files
# URL: URL: http://search.cpan.org/dist/Test-Pod/
2016-11-13 01:08:33 +01:00
# Packager: alihan-ozturk28@hotmail.com
# Depends on: perl
2016-02-24 01:27:23 +01:00
name=perl-test-pod
2016-11-13 01:08:33 +01:00
version=1.51
2016-02-24 01:27:23 +01:00
release=1
2016-11-13 01:08:33 +01:00
source=(http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Test-Pod-$version.tar.gz)
2016-02-24 01:27:23 +01:00
build() {
cd Test-Pod-$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
}