Magellan Linux

Contents of /branches/R11-unstable/extras/perl-encode-locale/perl-encode-locale-1.05-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32519 - (show annotations) (download)
Mon Apr 29 13:03:33 2019 UTC (4 years, 11 months ago) by niro
File size: 342 byte(s)
-release branches/R11-unstable
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 }