Annotation of /trunk/extras/perl-test-pod/perl-test-pod-1.52-r2.smage2
Parent Directory | Revision Log
Revision 31636 -
(hide annotations)
(download)
Wed Dec 5 09:01:32 2018 UTC (5 years, 6 months ago) by niro
File size: 376 byte(s)
Wed Dec 5 09:01:32 2018 UTC (5 years, 6 months ago) by niro
File size: 376 byte(s)
auto added: ver bump to 1.52-r2
1 | niro | 31636 | # $Id$ |
2 | |||
3 | PNAME="perl-test-pod" | ||
4 | PVER="1.52" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | DESCRIPTION="Check for POD errors in files." | ||
8 | |||
9 | SDEPEND=">= dev-perl/perl-module-build-0.4220" | ||
10 | |||
11 | CPAN_MODULE=Test-Pod | ||
12 | CPAN_AUTHOR=ETHER | ||
13 | sminclude cpan | ||
14 | |||
15 | postinstall() | ||
16 | { | ||
17 | _PNAME=test-pod | ||
18 | |||
19 | if [[ ! -z $(magequery -n ${_PNAME}) ]] | ||
20 | then | ||
21 | echo "Uninstalling deprecated package '${_PNAME}'..." | ||
22 | mage uninstall "${_PNAME}" | ||
23 | fi | ||
24 | } |