1 # PKGBUILD generated by pacpan
2 pkgname=perl-locale-textdomain
3 _realname=Locale-TextDomain
6 pkgdesc="no description available"
8 license=('unknown: check http://search.cpan.org/src/GUIDO/libintl-perl-1.16/README.txt')
9 url="http://search.cpan.org/~guido/Locale-TextDomain"
14 #provides=('Locale-TextDomain')
15 provides=('locale-textdomain=1.16' 'Locale::RecodeData::EBCDIC_FI_SE_A=undef' 'perl-locale-recodedata-ebcdic_fi_se_a=undef' 'Locale::RecodeData::MACROMANIA=undef' 'perl-locale-recodedata-macromania=undef' 'Locale::RecodeData::CP1252=undef' 'perl-locale-recodedata-cp1252=undef' 'Locale::RecodeData::ISO_8859_1=undef' 'perl-locale-recodedata-iso_8859_1=undef' 'Locale::Recode=undef' 'perl-locale-recode=undef' 'Locale::RecodeData::MACTHAI=undef' 'perl-locale-recodedata-macthai=undef' 'Locale::Recode::_Conversions=undef' 'perl-locale-recode-_conversions=undef' 'Locale::RecodeData::GREEK7_OLD=undef' 'perl-locale-recodedata-greek7_old=undef' 'Locale::RecodeData::IBM874=undef' 'perl-locale-recodedata-ibm874=undef' 'Locale::RecodeData::IBM437=undef' 'perl-locale-recodedata-ibm437=undef' 'Locale::RecodeData::GREEK7=undef' 'perl-locale-recodedata-greek7=undef' 'Locale::RecodeData::IBM904=undef' 'perl-locale-recodedata-ibm904=undef' 'Locale::RecodeData::ISO_8859_6=undef' 'perl-locale-recodedata-iso_8859_6=undef' 'Locale::RecodeData::IBM918=undef' 'perl-locale-recodedata-ibm918=undef' 'Locale::RecodeData::ISO_8859_14=undef' 'perl-locale-recodedata-iso_8859_14=undef' 'Locale::RecodeData::ISO_8859_16=undef' 'perl-locale-recodedata-iso_8859_16=undef' 'Locale::RecodeData::EBCDIC_AT_DE_A=undef' 'perl-locale-recodedata-ebcdic_at_de_a=undef' 'Locale::RecodeData::IBM273=undef' 'perl-locale-recodedata-ibm273=undef' 'Locale::gettext_xs=undef' 'perl-locale-gettext_xs=undef' 'Locale::RecodeData::INIS=undef' 'perl-locale-recodedata-inis=undef' 'Locale::Recode::_Aliases=undef' 'perl-locale-recode-_aliases=undef' 'Locale::RecodeData::CP1250=undef' 'perl-locale-recodedata-cp1250=undef' 'Locale::RecodeData::MACTURKISH=undef' 'perl-locale-recodedata-macturkish=undef' 'Locale::RecodeData::IBM038=undef' 'perl-locale-recodedata-ibm038=undef' 'Locale::RecodeData::IBM285=undef' 'perl-locale-recodedata-ibm285=undef' 'Locale::RecodeData::IBM869=undef' 'perl-locale-recodedata-ibm869=undef' 'Locale::RecodeData::IBM868=undef' 'perl-locale-recodedata-ibm868=undef' 'Locale::RecodeData::CP1257=undef' 'perl-locale-recodedata-cp1257=undef' 'Locale::RecodeData::IBM871=undef' 'perl-locale-recodedata-ibm871=undef' 'Locale::RecodeData::INIS_CYRILLIC=undef' 'perl-locale-recodedata-inis_cyrillic=undef' 'Locale::RecodeData::IBM864=undef' 'perl-locale-recodedata-ibm864=undef' 'Locale::RecodeData::ATARI_ST_EURO=undef' 'perl-locale-recodedata-atari_st_euro=undef' 'Locale::RecodeData::IBM866=undef' 'perl-locale-recodedata-ibm866=undef' 'Locale::RecodeData::ISO_5427=undef' 'perl-locale-recodedata-iso_5427=undef' 'Locale::RecodeData::ECMA_CYRILLIC=undef' 'perl-locale-recodedata-ecma_cyrillic=undef' 'Locale::RecodeData::IBM420=undef' 'perl-locale-recodedata-ibm420=undef' 'Locale::RecodeData::NATS_DANO=undef' 'perl-locale-recodedata-nats_dano=undef' 'Locale::RecodeData::EBCDIC_IT=undef' 'perl-locale-recodedata-ebcdic_it=undef' 'Locale::RecodeData::KOI8_T=undef' 'perl-locale-recodedata-koi8_t=undef' 'Locale::RecodeData::EBCDIC_DK_NO=undef' 'perl-locale-recodedata-ebcdic_dk_no=undef' 'Locale::RecodeData::INIS_8=undef' 'perl-locale-recodedata-inis_8=undef' 'Locale::RecodeData::CP10007=undef' 'perl-locale-recodedata-cp10007=undef' 'Locale::RecodeData::_Encode=undef' 'perl-locale-recodedata-_encode=undef' 'Locale::RecodeData::ISO_8859_10=undef' 'perl-locale-recodedata-iso_8859_10=undef' 'Locale::RecodeData::SAMI_WS2=undef' 'perl-locale-recodedata-sami_ws2=undef' 'Locale::RecodeData::CP1253=undef' 'perl-locale-recodedata-cp1253=undef' 'Locale::RecodeData::ASMO_449=undef' 'perl-locale-recodedata-asmo_449=undef' 'Locale::RecodeData::LATIN_GREEK_1=undef' 'perl-locale-recodedata-latin_greek_1=undef' 'Locale::RecodeData::US_ASCII=undef' 'perl-locale-recodedata-us_ascii=undef' 'Locale::RecodeData::ISO_8859_3=undef' 'perl-locale-recodedata-iso_8859_3=undef' 'Locale::RecodeData::IBM860=undef' 'perl-locale-recodedata-ibm860=undef' 'Locale::RecodeData::EBCDIC_CA_FR=undef' 'perl-locale-recodedata-ebcdic_ca_fr=undef' 'Locale::RecodeData::EBCDIC_ES_A=undef' 'perl-locale-recodedata-ebcdic_es_a=undef' 'Locale::RecodeData::IBM891=undef' 'perl-locale-recodedata-ibm891=undef' 'Locale::RecodeData::EBCDIC_FI_SE=undef' 'perl-locale-recodedata-ebcdic_fi_se=undef' 'Locale::RecodeData::ISO_8859_4=undef' 'perl-locale-recodedata-iso_8859_4=undef' 'Locale::RecodeData::EBCDIC_DK_NO_A=undef' 'perl-locale-recodedata-ebcdic_dk_no_a=undef' 'Locale::RecodeData::IBM278=undef' 'perl-locale-recodedata-ibm278=undef' 'Locale::RecodeData::ISO_8859_7=undef' 'perl-locale-recodedata-iso_8859_7=undef' 'Locale::RecodeData::ISO_10367_BOX=undef' 'perl-locale-recodedata-iso_10367_box=undef' 'Locale::RecodeData::IBM905=undef' 'perl-locale-recodedata-ibm905=undef' 'Locale::RecodeData=undef' 'perl-locale-recodedata=undef' 'Locale::RecodeData::ISO_8859_9=undef' 'perl-locale-recodedata-iso_8859_9=undef' 'Locale::RecodeData::HP_ROMAN8=undef' 'perl-locale-recodedata-hp_roman8=undef' 'Locale::RecodeData::MAC_UK=undef' 'perl-locale-recodedata-mac_uk=undef' 'Locale::RecodeData::IBM855=undef' 'perl-locale-recodedata-ibm855=undef' 'Locale::RecodeData::EBCDIC_ES=undef' 'perl-locale-recodedata-ebcdic_es=undef' 'Locale::RecodeData::KOI8_RU=undef' 'perl-locale-recodedata-koi8_ru=undef' 'Locale::RecodeData::MACUKRAINE=undef' 'perl-locale-recodedata-macukraine=undef' 'Locale::RecodeData::TIS_620=undef' 'perl-locale-recodedata-tis_620=undef' 'Locale::RecodeData::CWI=undef' 'perl-locale-recodedata-cwi=undef' 'Locale::TextDomain=1.16' 'perl-locale-textdomain=1.16' 'Locale::RecodeData::IBM857=undef' 'perl-locale-recodedata-ibm857=undef' 'Locale::RecodeData::IBM862=undef' 'perl-locale-recodedata-ibm862=undef' 'Locale::RecodeData::MACCYRILLIC=undef' 'perl-locale-recodedata-maccyrillic=undef' 'Locale::RecodeData::IBM274=undef' 'perl-locale-recodedata-ibm274=undef' 'Locale::RecodeData::GEORGIAN_ACADEMY=undef' 'perl-locale-recodedata-georgian_academy=undef' 'Locale::RecodeData::IBM1047=undef' 'perl-locale-recodedata-ibm1047=undef' 'Locale::RecodeData::IBM500=undef' 'perl-locale-recodedata-ibm500=undef' 'Locale::RecodeData::EBCDIC_ES_S=undef' 'perl-locale-recodedata-ebcdic_es_s=undef' 'Locale::RecodeData::IBM297=undef' 'perl-locale-recodedata-ibm297=undef' 'Locale::RecodeData::NATS_SEFI=undef' 'perl-locale-recodedata-nats_sefi=undef' 'Locale::RecodeData::IBM037=undef' 'perl-locale-recodedata-ibm037=undef' 'Locale::RecodeData::IBM1004=undef' 'perl-locale-recodedata-ibm1004=undef' 'Locale::RecodeData::GOST_19768_74=undef' 'perl-locale-recodedata-gost_19768_74=undef' 'Locale::RecodeData::IBM290=undef' 'perl-locale-recodedata-ibm290=undef' 'Locale::RecodeData::IBM423=undef' 'perl-locale-recodedata-ibm423=undef' 'Locale::RecodeData::IBM903=undef' 'perl-locale-recodedata-ibm903=undef' 'Locale::RecodeData::ISO_8859_13=undef' 'perl-locale-recodedata-iso_8859_13=undef' 'Locale::RecodeData::IBM281=undef' 'perl-locale-recodedata-ibm281=undef' 'Locale::RecodeData::IBM880=undef' 'perl-locale-recodedata-ibm880=undef' 'Locale::RecodeData::KOI_8=undef' 'perl-locale-recodedata-koi_8=undef' 'Locale::RecodeData::IBM870=undef' 'perl-locale-recodedata-ibm870=undef' 'Locale::RecodeData::ISO_8859_11=undef' 'perl-locale-recodedata-iso_8859_11=undef' 'Locale::RecodeData::MAC_IS=undef' 'perl-locale-recodedata-mac_is=undef' 'Locale::RecodeData::IBM1026=undef' 'perl-locale-recodedata-ibm1026=undef' 'Locale::RecodeData::MACHEBREW=undef' 'perl-locale-recodedata-machebrew=undef' 'Locale::RecodeData::EBCDIC_FR=undef' 'perl-locale-recodedata-ebcdic_fr=undef' 'Locale::RecodeData::ATARI_ST=undef' 'perl-locale-recodedata-atari_st=undef' 'Locale::RecodeData::ISO_5428=undef' 'perl-locale-recodedata-iso_5428=undef' 'Locale::RecodeData::KOI8_R=undef' 'perl-locale-recodedata-koi8_r=undef' 'Locale::RecodeData::MACICELAND=undef' 'perl-locale-recodedata-maciceland=undef' 'Locale::RecodeData::ISO_8859_5=undef' 'perl-locale-recodedata-iso_8859_5=undef' 'Locale::Messages=undef' 'perl-locale-messages=undef' 'Locale::RecodeData::NEXTSTEP=undef' 'perl-locale-recodedata-nextstep=undef' 'SimpleCal=undef' 'perl-simplecal=undef' 'Locale::RecodeData::IBM256=undef' 'perl-locale-recodedata-ibm256=undef' 'Locale::RecodeData::GREEK_CCITT=undef' 'perl-locale-recodedata-greek_ccitt=undef' 'Locale::RecodeData::EBCDIC_UK=undef' 'perl-locale-recodedata-ebcdic_uk=undef' 'Locale::RecodeData::IBM851=undef' 'perl-locale-recodedata-ibm851=undef' 'Locale::RecodeData::IBM280=undef' 'perl-locale-recodedata-ibm280=undef' 'Locale::RecodeData::GEORGIAN_PS=undef' 'perl-locale-recodedata-georgian_ps=undef' 'Locale::RecodeData::IBM875=undef' 'perl-locale-recodedata-ibm875=undef' 'Locale::RecodeData::ISO_8859_8=undef' 'perl-locale-recodedata-iso_8859_8=undef' 'Locale::RecodeData::IBM277=undef' 'perl-locale-recodedata-ibm277=undef' 'Locale::RecodeData::VISCII=undef' 'perl-locale-recodedata-viscii=undef' 'Locale::RecodeData::CP1251=undef' 'perl-locale-recodedata-cp1251=undef' 'Locale::RecodeData::KOI8_U=undef' 'perl-locale-recodedata-koi8_u=undef' 'Locale::RecodeData::DEC_MCS=undef' 'perl-locale-recodedata-dec_mcs=undef' 'Locale::RecodeData::CSN_369103=undef' 'perl-locale-recodedata-csn_369103=undef' 'Locale::RecodeData::CP1254=undef' 'perl-locale-recodedata-cp1254=undef' 'Locale::RecodeData::EBCDIC_IS_FRISS=undef' 'perl-locale-recodedata-ebcdic_is_friss=undef' 'Locale::RecodeData::IBM852=undef' 'perl-locale-recodedata-ibm852=undef' 'Locale::RecodeData::ISO_5427_EXT=undef' 'perl-locale-recodedata-iso_5427_ext=undef' 'Locale::RecodeData::MACARABIC=undef' 'perl-locale-recodedata-macarabic=undef' 'Locale::RecodeData::EBCDIC_PT=undef' 'perl-locale-recodedata-ebcdic_pt=undef' 'Locale::gettext_pp=undef' 'perl-locale-gettext_pp=undef' 'Locale::RecodeData::IBM861=undef' 'perl-locale-recodedata-ibm861=undef' 'Locale::RecodeData::IBM850=undef' 'perl-locale-recodedata-ibm850=undef' 'Locale::RecodeData::LATIN_GREEK=undef' 'perl-locale-recodedata-latin_greek=undef' 'Locale::RecodeData::IBM424=undef' 'perl-locale-recodedata-ibm424=undef' 'Locale::RecodeData::IBM275=undef' 'perl-locale-recodedata-ibm275=undef' 'Locale::RecodeData::ISO_8859_15=undef' 'perl-locale-recodedata-iso_8859_15=undef' 'Locale::RecodeData::EBCDIC_US=undef' 'perl-locale-recodedata-ebcdic_us=undef' 'Locale::RecodeData::MACGREEK=undef' 'perl-locale-recodedata-macgreek=undef' 'Locale::RecodeData::IEC_P27_1=undef' 'perl-locale-recodedata-iec_p27_1=undef' 'MyInstall=undef' 'perl-myinstall=undef' 'Locale::RecodeData::EBCDIC_AT_DE=undef' 'perl-locale-recodedata-ebcdic_at_de=undef' 'Locale::RecodeData::UTF_8=undef' 'perl-locale-recodedata-utf_8=undef' 'Locale::RecodeData::IBM865=undef' 'perl-locale-recodedata-ibm865=undef' 'Locale::RecodeData::MACCROATIAN=undef' 'perl-locale-recodedata-maccroatian=undef' 'Locale::RecodeData::IBM863=undef' 'perl-locale-recodedata-ibm863=undef' 'Locale::RecodeData::MACINTOSH=undef' 'perl-locale-recodedata-macintosh=undef' 'Locale::RecodeData::MAC_SAMI=undef' 'perl-locale-recodedata-mac_sami=undef' 'Locale::RecodeData::ISO_2033_1983=undef' 'perl-locale-recodedata-iso_2033_1983=undef' 'Locale::RecodeData::IBM284=undef' 'perl-locale-recodedata-ibm284=undef' 'Locale::RecodeData::CP1256=undef' 'perl-locale-recodedata-cp1256=undef' 'Locale::RecodeData::ISO_8859_2=undef' 'perl-locale-recodedata-iso_8859_2=undef')
17 source=(http://search.cpan.org/CPAN/authors/id/G/GU/GUIDO/libintl-perl-1.16.tar.gz)
18 md5sums=('7dfcd9ac3a4ff41038a2c67a733d42b9')
21 _expected_dir="${srcdir}/${_realname}-${pkgver}"
22 if [ -d "$_expected_dir" ]; then
25 _expected_dir="${srcdir}/$(bsdtar -t -f $(basename $source) | head -n1)"
26 if [ -d "$_expected_dir" ]; then
29 _makefile=$(find $srcdir -iname Makefile.PL)
30 if [ ! -z "$_makefile" ]; then
31 _expected_dir=$(dirname $_makefile)
32 if [ -d "$_expected_dir" ]; then
35 echo "
\e[1;31mERROR
\e[0m unable to detect source directory"
36 echo "
\e[1;34m-->
\e[0m this is often due to CPAN's lack of standard naming conventions"
37 echo "
\e[1;34m-->
\e[0m it may be possible to fix this by adjusting the build function in the PKGBUILD"
42 # install module in vendor directories.
43 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
45 make install DESTDIR=${pkgdir} || return 1
47 # remove perllocal.pod and .packlist
48 find ${pkgdir} -name perllocal.pod -delete
49 find ${pkgdir} -name .packlist -delete