Magellan Linux

Contents of /trunk/extras/perl-encode-locale/perl-encode-locale-1.05-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 29927 - (show annotations) (download)
Thu Oct 19 10:14:47 2017 UTC (6 years, 6 months ago) by niro
File size: 342 byte(s)
auto added: ver bump to 1.05-r2
1 # $Id$
2
3 PNAME="perl-encode-locale"
4 PVER="1.05"
5 PBUILD="r2"
6
7 DESCRIPTION="Determine the locale encoding."
8
9 CPAN_MODULE=Encode-Locale
10 CPAN_AUTHOR=GAAS
11 sminclude cpan
12
13 postinstall()
14 {
15 _PNAME=encode-locale
16
17 if [[ ! -z $(magequery -n ${_PNAME}) ]]
18 then
19 echo "Uninstalling deprecated package '${_PNAME}'..."
20 mage uninstall "${_PNAME}"
21 fi
22 }