Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31625 - (show annotations) (download)
Wed Dec 5 08:56:40 2018 UTC (5 years, 4 months ago) by niro
File size: 342 byte(s)
auto added: ver bump to 1.05-r4
1 # $Id$
2
3 PNAME="perl-encode-locale"
4 PVER="1.05"
5 PBUILD="r4"
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 }