523 lines
27 KiB
Bash
523 lines
27 KiB
Bash
# Template file for 'libreoffice-i18n'
|
|
pkgname=libreoffice-i18n
|
|
version=5.4.3
|
|
revision=1
|
|
build_style=meta
|
|
nocross=yes
|
|
hostmakedepends="rpmextract"
|
|
short_desc="LibreOffice localization files"
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
license="LGPL-3"
|
|
homepage="http://www.documentfoundation.org/"
|
|
_url="http://download.documentfoundation.org/libreoffice/stable/${version}/rpm/x86"
|
|
_skiplang="en-US de es fr it pl pt"
|
|
# ${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_am.tar.gz
|
|
distfiles="
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_am.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_ast.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_bg.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_bn-IN.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_bn.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_bo.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_bs.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_ca-valencia.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_ca.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_cs.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_da.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_de.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_dz.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_el.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_en-GB.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_en-US.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_en-ZA.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_eo.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_es.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_et.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_eu.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_fi.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_fr.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_gl.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_gu.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_he.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_hi.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_hr.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_hu.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_id.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_is.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_it.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_ja.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_ka.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_km.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_ko.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_mk.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_nb.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_ne.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_nl.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_nn.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_om.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_pl.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_pt-BR.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_pt.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_ru.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_si.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_sk.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_sl.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_sq.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_sv.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_tg.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_tr.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_ug.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_uk.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_vi.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_zh-CN.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_zh-TW.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_af.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_am.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_ar.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_as.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_ast.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_be.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_bg.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_bn-IN.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_bn.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_bo.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_br.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_brx.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_bs.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_ca-valencia.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_ca.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_cs.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_cy.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_da.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_de.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_dgo.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_dz.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_el.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_en-GB.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_en-ZA.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_eo.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_es.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_et.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_eu.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_fa.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_fi.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_fr.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_ga.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_gd.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_gl.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_gu.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_gug.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_he.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_hi.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_hr.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_hu.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_id.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_is.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_it.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_ja.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_ka.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_kk.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_km.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_kmr-Latn.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_kn.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_ko.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_kok.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_ks.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_lb.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_lo.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_lt.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_lv.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_mai.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_mk.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_ml.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_mn.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_mni.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_mr.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_my.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_nb.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_ne.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_nl.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_nn.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_nr.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_nso.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_oc.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_om.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_or.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_pa-IN.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_pl.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_pt-BR.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_pt.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_ro.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_ru.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_rw.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_sa-IN.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_sat.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_sd.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_si.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_sid.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_sk.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_sl.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_sq.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_sr-Latn.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_sr.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_ss.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_st.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_sv.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_sw-TZ.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_ta.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_te.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_tg.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_th.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_tn.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_tr.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_ts.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_tt.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_ug.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_uk.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_uz.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_ve.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_vec.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_vi.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_xh.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_zh-CN.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_zh-TW.tar.gz
|
|
${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_zu.tar.gz"
|
|
|
|
_languages=(
|
|
'af "Afrikaans"'
|
|
'am "Amharic"'
|
|
'ar "Arabic"'
|
|
'as "Assamese (India)"'
|
|
'ast "Asturianu"'
|
|
'be "Belarusian"'
|
|
'bg "Bulgarian"'
|
|
'bn "Bengali"'
|
|
'bn-IN "Bengali (India)"'
|
|
'bo "Tibetan"'
|
|
'br "Breton"'
|
|
'brx "Bodo"'
|
|
'bs "Bosnian"'
|
|
'ca "Catalan"'
|
|
'ca-valencia "Catalan (Valencia)"'
|
|
'cs "Czech"'
|
|
'cy "Welsh"'
|
|
'da "Danish"'
|
|
'de "German"'
|
|
'dgo "Dogri"'
|
|
'dz "Dzongkha"'
|
|
'el "Greek"'
|
|
'en-GB "English (GB)"'
|
|
'en-ZA "English (ZA)"'
|
|
'eo "Esperanto"'
|
|
'es "Spanish"'
|
|
'et "Estonian"'
|
|
'eu "Basque"'
|
|
'fa "Persian"'
|
|
'fi "Finnish"'
|
|
'fr "French"'
|
|
'ga "Irish"'
|
|
'gd "Gaelic (Scottish)"'
|
|
'gl "Galician"'
|
|
'gu "Gujarati"'
|
|
'he "Hebrew"'
|
|
'hi "Hindi"'
|
|
'hr "Croatian"'
|
|
'hu "Hungarian"'
|
|
'id "Indonesian"'
|
|
'is "Icelandic"'
|
|
'it "Italian"'
|
|
'ja "Japanese"'
|
|
'ka "Georgian"'
|
|
'kk "Kazakh"'
|
|
'km "Khmer (Cambodia)"'
|
|
'kn "Kannada"'
|
|
'ko "Korean"'
|
|
'kok "Konkani"'
|
|
'ks "Kashmiri"'
|
|
'lb "Luxembourgish"'
|
|
'lo "Lao"'
|
|
'lt "Lithuanian"'
|
|
'lv "Latvian"'
|
|
'mai "Maithili"'
|
|
'mk "Macedonian"'
|
|
'ml "Malayalam"'
|
|
'mn "Mongolian"'
|
|
'mni "Manipuri"'
|
|
'mr "Marathi"'
|
|
'my "Burmese"'
|
|
'nb "Norwegian Bokmal"'
|
|
'ne "Nepali"'
|
|
'nl "Dutch"'
|
|
'nn "Norwegian Nynorsk"'
|
|
'nr "Ndebele (South)"'
|
|
'nso "Northern Sotho"'
|
|
'oc "Occitan"'
|
|
'om "Oromo"'
|
|
'or "Oriya"'
|
|
'pa-IN "Punjabi (India)"'
|
|
'pl "Polish"'
|
|
'pt "Portuguese"'
|
|
'pt-BR "Portuguese (Brasil)"'
|
|
'ro "Romanian"'
|
|
'ru "Russian"'
|
|
'rw "Kinyarwanda"'
|
|
'sa-IN "Sanskrit (India)"'
|
|
'sat "Santali"'
|
|
'sd "Sindhi"'
|
|
'si "Singhalese"'
|
|
'sid "Sidama"'
|
|
'sk "Slovak"'
|
|
'sl "Slovenian"'
|
|
'sq "Albanien"'
|
|
'sr "Serbian"'
|
|
'ss "Swati"'
|
|
'st "Southern Sotho"'
|
|
'sv "Swedish"'
|
|
'sw-TZ "Swahili (Tanzania)"'
|
|
'ta "Tamil"'
|
|
'te "Telugu"'
|
|
'tg "Tajik"'
|
|
'th "Thai"'
|
|
'tn "Tswana"'
|
|
'tr "Turkish"'
|
|
'ts "Tsonga"'
|
|
'tt "Tatar"'
|
|
'ug "Uighur"'
|
|
'uk "Ukrainian"'
|
|
'uz "Uzbek"'
|
|
've "Venda"'
|
|
'vi "Vietnamese"'
|
|
'xh "Xhosa"'
|
|
'zh-CN "Chinese (simplified)"'
|
|
'zh-TW "Chinese (traditional)"'
|
|
'zu "Zulu"'
|
|
)
|
|
|
|
do_build() {
|
|
for i in $distfiles; do
|
|
_localver="${version}.2"
|
|
_tarbname="${i##*/}"
|
|
_tarbname="${_tarbname%*.tar.gz}"
|
|
_lang="${_tarbname##*_}"
|
|
if [ "${_skiplang/${_lang}/}" = "${_skiplang}" ]; then
|
|
echo "Unpacking ${_tarbname} ..."
|
|
# We create a directory using p_${_lang}, for example p_zh-TW, containing
|
|
# opt/libreofficeX.Y/out, with helppack and/or langpack
|
|
# extracted inside it.
|
|
mkdir -p ${wrksrc}/p_${_lang}
|
|
cd ${wrksrc}/p_${_lang}
|
|
if [ -d "${wrksrc}/LibreOffice_${_localver}_Linux_x86_rpm_helppack_${_lang}/RPMS/" ]; then
|
|
rpmextract ${wrksrc}/LibreOffice_${_localver}_Linux_x86_rpm_helppack_${_lang}/RPMS/*.rpm
|
|
fi
|
|
if [ -d "${wrksrc}/LibreOffice_${_localver}_Linux_x86_rpm_langpack_${_lang}/RPMS/" ]; then
|
|
rpmextract ${wrksrc}/LibreOffice_${_localver}_Linux_x86_rpm_langpack_${_lang}/RPMS/*.rpm
|
|
fi
|
|
mkdir -p out
|
|
cp -pR opt/libreoffice${version%.*}/* out/
|
|
rm -rf opt
|
|
else
|
|
echo "Skipping ${_lang}..."
|
|
fi
|
|
done
|
|
}
|
|
do_install() {
|
|
:
|
|
}
|
|
|
|
create_wrksrc=yes
|
|
depends="libreoffice>=${version} ${subpackages}"
|
|
|
|
for _lang in "${_languages[@]}"; do
|
|
_locale=${_lang%% *}
|
|
if [ "${_skiplang/$_locale/}" = "${_skiplang}" ]; then
|
|
_pkgname=libreoffice-i18n-${_locale}
|
|
|
|
depends+=" ${_pkgname}>=${version}"
|
|
|
|
eval "${_pkgname}_package() {
|
|
_pkgtmpl ${_lang} ${version%.*}
|
|
}"
|
|
fi
|
|
done
|
|
|
|
_pkgtmpl() {
|
|
_lang="$1"
|
|
_version="$3"
|
|
depends="libreoffice>=${version}"
|
|
short_desc="LibreOffice localization files - $2 language pack"
|
|
pkg_install() {
|
|
vmkdir usr/lib/libreoffice
|
|
mv ${wrksrc}/p_${_lang}/out/* ${PKGDESTDIR}/usr/lib/libreoffice/
|
|
}
|
|
}
|
|
|
|
checksum="
|
|
89abda37c5251fa55ed3395e3df6cbafc454d193894b4e8d450070ad37bca9f8
|
|
9a47eec00247058d93282e4ef0f781bed7ea3173ae84a0f89efe108db899b11a
|
|
0a689bffddd62f42472adba805634e14affa0508e46b81d648e4eb4f5a08551c
|
|
f6e5e98106c7f2133acc20b5dcef61c21ef6363b3adfa41b5a2ffccb79dd3827
|
|
0a866aad729651715c82729ae72e66c9442538ec5e972652484b2dbab469f44a
|
|
c14571017cb2abef60ea847cf76c567f04639d4ea1f0e5dac3d8f53db0bd59fb
|
|
0cf1319d1549669546d8bc31a0df909f0b97158e9cf1a3c9515d31af4e3f67f6
|
|
4bfad95832d48f85f72e5e8974e7ef18dc12df5aa7edc265896743c5f6daaced
|
|
0f5ba121c5631a3ac21cb663977c630cd18d2d7413f5fc44702c3f49004458fa
|
|
4d9e6078fc6083bc1899a5cfe0d2657af94d72a3cc74ff4307e856327fdc5b39
|
|
09cb788df5ea3cc81eba585bdf085e1d827fcb09bc3c378db847134802f25697
|
|
e6d927893a41b6228596d22ba5fd26d05e282e9490f158be253b13a55169cba1
|
|
dcd0af298825a2b9adbdbd79735c5e7b4e81b73687c87f40a1f2e2f991806397
|
|
bade706cbd943c5110f24d138e03a4df54b29484a854609143b5714a2c19a3b0
|
|
b6c0e60b3d950d522729cae800469c28a739d8a1444524ced59aa8b034c89cef
|
|
e33da68675a753aeb042853900994db3522c4d8e03e1c8f9b49c38369a9cb03d
|
|
bd6b45d2aee6162e29e6f80df421dafa83b69f2481839663205f65aba7aa99ee
|
|
434e2b43cc0c2c7f018dd87c465f8720c1e452f30e8418733cb9ba8389e3355f
|
|
9330b3b237005b6300c13f06006f68c73e8a49394787408545a3595a2504f50c
|
|
d085b78fbaa0f76e870e71f4193c57e728cb51ea9bc3be6bc23b9c6576a8384c
|
|
3ec0ffc012a25ae059a3effe9e502440c858f93bf08d146996eb0d7ede6d10de
|
|
dc02c1a6f506de6b1802a73baa4b9d6627545049dd62262deb70ac3595d21a2f
|
|
20f94269e2dcd41e51952979d26ec9d60a574189b8e252d789ac54ff28d31bdb
|
|
7841d8a35c50c060212c70522e8fa18d24fc5bf2692aabbd059823d99b81aa62
|
|
a4898ac5a93a8ffc90e4bddd3fff7cc5f83ee239605c377d21790f33f5f614f5
|
|
8cec7b7903699c2e2ee26498f84f608ae282b402dde05b93b1e32182705b0dc5
|
|
bb9915b1ba236a781208e02a649fa97471dcec8d612fd4e647c73a46739b4fa2
|
|
8f1d736d9e32e0c5dff4eba2bf10501067557287aa779921446e539f5d9d37e8
|
|
a2239ea44a1688f5798efb4820ad8e7e02973c17f21a8b4362a592bd6c5c4279
|
|
6f11faac7c4ac7c10bd8667cc9906359afe71a3020b8abafccea77571718b1ed
|
|
2d4cc0e03cdaade11ebda86c3d30f28e83a811b9d307df7e55c08ca16423681f
|
|
51f4950a7d3a11808bf6cf34ee4b0a1f38403a84c31852f2302c29f323686a2c
|
|
49d41e83535f2ae91d7e2e1fda5e115404872841d081f6a11561b42dc7d27bb5
|
|
3ecf112f8620da75af4f9e1b0d2593a94380fe2faffc1989a4d38c7402a9b474
|
|
4e7e0ce5b4040330a40128b130220c85b48a28f36eb0c248a32c32b65e74213e
|
|
9b9f798c9372b01bbbe8ea6f5f242da9285b4f3d14990c8c4c3f24234783c705
|
|
662c896d3cd3c95b97c35004509a9fa800bad4b1db7e94e6fa3ac066ff98318f
|
|
31c4e91a83556d36a2ad5003c63b27b5de646621f01c0c1095cb3cf8a72f649c
|
|
f9cc21b7a1a4552c57fc81bb628410f0b35d16651faef8a0a3d03b24ec9fd503
|
|
2ddfa1480a3410de7d6cefbd9c5b1fc64883344d6615ba9dbd0d7124984f8c04
|
|
20b425fed03b633c1c75b58d76fc7f508df913bd70efdae4457fe252bb44b5d1
|
|
7ad112aefd063ef6588a6fd0556fbc6d2bdd0c61e4ea0c444a3967a8a91412d8
|
|
bad6eb91bf575c29f3d399447bff96c2ac425f2a72ce8305dde2502a707c3e72
|
|
9f6eab8e5c717788c2db4f29cddcebcf227dbd1217ef9b6824e6588125df9661
|
|
a0b4e184a20f1a1e29ccbb2edb0ce0f436a60f09cdcdcbbe8db85cad0f86069f
|
|
c282844d3b336f5037493926306913425533ad0c37b3eb3828b82c68491ae5f2
|
|
c5d502cda3691d2f6b91ba5971c9ce2dd658184f45ab25004db3c37378fb1465
|
|
03af71436f5e567c64580d86bb1ac5bd6af66d169a4765d8aa4507d9561d6b24
|
|
879b81ea9f206f742ebb804fc7889555e8cb53ac5488875c7703372f62e9d6d8
|
|
3305dbfa57ae845d7624a48c9255edcb6e280b10c61330048fd7a90d4217a3e1
|
|
a6d03feb8899f27b987382b843f902d6e5edc25d53354c6cc7e30f933efe666e
|
|
acf26d6f8a010edad3e75827a516285c3d6be6306e8505a7f870cdc85756cf7e
|
|
26d2bfea66c49c64691d44b9986a4b4b8651b647c8379d112fa2b72352fa965c
|
|
ed01685506586616eec56ca808ff93f4d72e7f4eaba2ad6b58f4c48661608100
|
|
17292c1225deca13b89767c9f69ddff6095f6c125d08dd569ef403b7e4e70874
|
|
917772a1ecc72856e42ea1dab2bfe69ef1c7c77120b257c3a320dc65f99693bf
|
|
1d081a1e9984aa683732c152885706434617991dc7f1bc3f1cf2c4a37bb01670
|
|
179464703271162364cc9633c2023b0c7d89d5aed23942f904b8cf88becbee33
|
|
f2e80367daba4746ca39dd497b03e41735e74512952265791bff78f095d7470d
|
|
14f6781ad52424464ec203616a887561ec7881b2e13fd161a545535f11383dff
|
|
c15dc24a99166f7c0c983719300e7c065a10bf610f409dbc2719f2f2976bae80
|
|
20d9663f2ece60e3248276ea477ce27f90cbb51ec84b5236562d974ab1a8a407
|
|
45ad7754aed71c7a50d687dedf3d45e18164e0c4f88b01f7712b9eb45d67b2fb
|
|
699717e75d2604016c4d29107a410bf0307227ba326e0a0a4d7edc35a14a14ff
|
|
b169a7c66b86ad348eea12576d6fc606597cea2f5cec2223eae42375e1912cc4
|
|
791b40841f5fbcd0adf28c3f580172151f7471bdba70f47172e4721c3d4cb92a
|
|
e4f80baeedc8a6e210662a56416020893d1ad2650e5a1fcccaa6764cd9b3b247
|
|
40ec503997ca0471ed415e58282916a6aa731034f2c5904a97c65d7fda7c463a
|
|
f5788abad67b112f532599c6812eda9727dd97bb71cd96c6ded873d171c62baf
|
|
eaba3b27b39c014bb14330d3649c959e4ffb11edb2bf004f3708c25262b4db5c
|
|
43a9f0660ffc0206fed03b99056743a21e7c93d54f8693372c231bd43d5dd23e
|
|
d16026ae43a8bb32afdc7a589d55297bb7a86326404f42ac198eba564c10580c
|
|
ac58115088b38dcaed36bc6c64f79fffcefcdc8b58bdd516f061ec2b9780fc11
|
|
f85c1f51d2f933b38947323c0133b1b99c3280750a6b959a6ef84db760799ae6
|
|
78abda0dd5cf3fc74b1fc095de1c29c3df1600940ed08cc635eb5872a079202d
|
|
386b4638bbd94a6cb44891109cb4f85a24ab9aa71bfd0afe5bce14589c9494e2
|
|
23d7b0e8ca7a9d06ea9803515db1d59cbc1542786dfe30aae973f686022c4d7a
|
|
51a8109c7f521878fe3e73c942f955b64ecc1528c5df6c902c7f8cb55f1d961c
|
|
1b6482da863230be8fa9bbfc41e16ef0613028cec84c51ad1d98f30a6ba003dd
|
|
27b212dd82507e55d903daca14b5b47adccd73f3f0a194e24ab2a36c43711b69
|
|
55184cf6ee3bfddee78d61b12c10e8c5313e42f070397290920c4f3f677840e9
|
|
cd19257bcf13a4b84f179d41b8b36e2ee6875730cfb4f34af5821d46ea472b01
|
|
555cab895f695835c68334f0aa304ec33615b8c92e5bac8d9ddc090bff00f888
|
|
c0b0cf3bf28747a3d5256b6a287d6b2246f7ef82f13fab252f5cda02da3ac61b
|
|
aac9ee0ccdba715123101a3d9b11da5e16e5a49ecc9e76c0a5ddbe12ac0e9f03
|
|
2e3c177b0aedd77cb2bf4eda8e29f094cf10d3ecef964f1dd40233561c00fd71
|
|
87c6c87065fa1458ac3656eb738f183047adabcd1f47cec6a822d5251be5f4b7
|
|
ed80bb4dcd4a34cce2c4236a9241dc5ba0a2c15323c0ec7fc65fe5d1d12698c5
|
|
f20f3d415a17307712ba9132dba913d9898dc2181df13ed5148b980fc3bc4070
|
|
07031e1934abd379115612f156258f4ad885af45e8a929aad7108b7ed40b074e
|
|
fa672026486d49974231ff54c006d4f729e58ac1a38e82a71cf4fd889711bf62
|
|
3abab7af9058c2d345fc9507b069bb3f33c086ef1b48ef4cd7c4109e186d6290
|
|
6bc4f04394b0a4a70afc1030f3e64498e26ac0e22052e8b1fe4ce72b11746945
|
|
293054c9b8a5cecebed2ee2fb46f97db5e16742b7202815c86591b9aafaca12e
|
|
44dc2f24eaa32a320e248f52ec9f0a7b7e0b2ae34e54dcaa8e1a7733893208ef
|
|
f6782d84445d345883be098c567c3351f3ffd4b91edff07fe48e44b746bc0346
|
|
deb7e5c250780c9b6cff05caf9ee67c737324efda9c4bcba0cc6e6dc42bb51c3
|
|
15c39ae2fe154177e542b0dfb2423f79d40c25641d5d3eb067f65a77ed0151bc
|
|
e54ce2fcf904f59a14bcd2d59893ecf8e7392d1f46cebbaf46c6080f9e71c131
|
|
65f758f07e5c491292313bf8c79b0b9025b65d5b6a2828eb2af0c05831287466
|
|
1904f39259ce56ab7e5285f120179621c022158f3c5e84d491fcb53797429cc4
|
|
6ee78c28bcbefb55b31854863b39b57cf3e1f00882faf00d594cbb8ff280933d
|
|
bf4ae2587fe6e4c44b284e2f7a537265bcd33070fca5e3e25ca55c92fddcea0d
|
|
174516993d0cb58a9bb75c07e77904bf18ce69ee2da7ee7b9f8b7bc24b3c0373
|
|
5561fb60e794eedaa7acca0a5665da91f523105efd025d3a1a9d0b6e78761676
|
|
54fb8f961f5c7be5d06ce8d674fbbc3f8c8102c18ac331370fa94a9b9a1cd934
|
|
bd1b2a561ecd997a006585cb38585bd3482945cd18b5c5bcad929054c2823365
|
|
da615212238de60e3c97cc2f4636dfe9e9191b1103b48e019d112206f8cc830b
|
|
d6c6de7340ad8d0b2b14cb12d1c8d88dced2e7336d138d3e503a6e090ae05fe2
|
|
bd638c9c867dd4df3cb936fc5e1009ae71af18b2fc2150571d18de3975f91434
|
|
aa597b60a667060f0bdab23806b0ed3adc5a2d8b66ba60baab0ac1dbeeb8ec0e
|
|
d2322f0e0c48e1fd32c3ccdfbaa8d945ef915721bf175729be0980eb38a1eaf2
|
|
d475fa1e5ae14143e25078d0db26c3a9227b9040dca081d4cc76b623ce5da059
|
|
acf7e722ed8c07fdbc14c9547a7d40c92eda58df6682a14e5ef07a70621d26f8
|
|
4b8678f4f1361df018267bdb434ad74a41e2e71b3f04d0aabe489af98122dde7
|
|
f39b78a14430e39d514b4fe2f7cb40fda97e0ca9d68a58f5a23479793a767d76
|
|
88c26c6eb958b84fb23e9e9d12457a861ec02268d7c3bab894c1a8cfd5cf823b
|
|
e8a8c1b1374c1aa2894200a2709c6a3e91d2b010c80741329ec66d43c70f7845
|
|
c919a189299a12b558e5240b87334d2e88af1890fc09d519b74e604dba75558c
|
|
ddc93419259103ecaf1974bcab5c02d1a6445536d665807dd222374d82ab206c
|
|
4bc0d7bfea0af4980b07a0c93571148f874cc5608b7b235271ffaa2d7b8191f2
|
|
fc077c08ee8f52f04b2b15be1d81a8e49fd2483ea09bfecd3dc9d54a0921a03c
|
|
3f95ffca37f1394b709041c2daca17670e3c91c5607334930c86b1cb806fab48
|
|
331f2a5f2913600740b45de7528b85db1e7566d910963a451d0aca315608a0a3
|
|
09f4f6163737e0313afd0f0c6c436368929f0fd55b698d9b93633e79f6f01ff1
|
|
f86c4dfdf2caefbd32ea7938e66e50e3f1a79ccb0a779ca2d2647a021a8101e7
|
|
cd052e1c0c6e9fff3fe66a9d02e6ed70dbab76fa4c58c50eca09a2395f1b03d3
|
|
a51ab653aaa23bf9dffe89edfd75a1023cdab656328422b266ef5311412110bb
|
|
2bca9dbedd15a3c54ef4721f518b174d0af187d8581e324620b62b4aff16634f
|
|
4c3038a72be13966a0d14caedc916b579f3fbf17ac42151ef2176a6ec8c86e63
|
|
bdf2f46f4dd5b8caf02250de9c6668b881fb2dff61711848d576fb8dc58aef17
|
|
28713a28af850e94896fa8b11e67527bbae403c4b3f0cfe4e01cb0ebb664e7b7
|
|
84b6c8c47e1afcf4e8249d269d86c5213e20ba6a5b6212a65136f75de5627914
|
|
d88baf63d4e9ba58e7b29ac701494e3bc5305905cef487f227dcb9561898e794
|
|
4630eea45b83393fc73709009a015d56ec1e8013f4b6d4e42b23fbd91bdfe884
|
|
0c79acbf26c23b9a9bf0c8d07095ec2df5d5e039aa48df26ef39ef06a10dbf02
|
|
73ed7157eed5ee6eaa3276fa1b11004cf0b67dd81fdd7c22863b8aa0bbbaad9b
|
|
ccc81082920044bc90150af9e1fbb84b6a8cfc3f669d5d032a9ff8cc898925f7
|
|
a449bee14f874c9a7088d0571da0e79594c9026acabe562f004207c65f130f0c
|
|
d86fd944090e0302e793c7618adf41bf3a069b844d9828f8f7c18c4fb53be2eb
|
|
0b1826c40f7585cbbc0aeddd1e25a822a9c36ec06ec14a3ed82d6f5cd5904df5
|
|
4e43f55ed63bfb1fb7a549a9d39e5da8cd0634fac6fe04f8aec73151760a8c65
|
|
670e0e293889b2a3458ca35fe465183323ac74c190403439fd22b3bc0a21bde8
|
|
d1a26bfb0fad4743b69d3517be6330e5acb94fdc57f276f561c9d9bb6bbab8e1
|
|
1a8af8e4714f6ec09d5e1126d605c071a9941d11bb7c59b4288ebb340a14b732
|
|
53fb28d44c6ba99b65c64576d13c6ad19264a1b29ee5e97ed3f9474afe0b6ab7
|
|
791b74c8d0ca4189da7bd3865be4ed7bb2411440bb8d678220d7608d47531a8f
|
|
2e28d8f0dd0679a0bb56ab7ffbd3def8f591d6dac8c99a9e27b09c5276e4325b
|
|
a3af6b78435af4c0e8e40499bba7d2e4c8a7ea058de597580c10d04912e133e0
|
|
d66fa5af13b4d1dff2af7866180de87c48452584ff515832aa21f3b1ae2dd383
|
|
2e7de6a40086a030fafbf1a20effa7d456bd535fd906a793fddd8d97d3b4c2a4
|
|
bbbeed0ecbfb0f453f6207a6f8bf611dddb0f6edfacb7166c6d98e74bfb96187
|
|
2ea0599e78c900116c2391a162e2aa6b32c986b44758c2584f7f568e7bb87b90
|
|
98b5fc854b7885ab73d2c3f1a11087cbbccbd24f5b2bbc42ea481f7adbc91831
|
|
d77332a4626469b7283c506763ce3bf2162c211a17040bc0d01aef06973e4271
|
|
bdc86d7e2c4fdb39d6287aa2f9c3b859ef36a33cc8f8c624930a9936aeec69ae
|
|
04d8fc71da79d2155d44dcaeb81554e436948417d7235e4895751ddfd2904d1f
|
|
2b9a2272094972f8d5e902a50a91e1f58fa796847eace5fcbe5eae825b4a89a6
|
|
e2811920f6d2dbd4aa0624b26b17a35010ae58bd986cea710a3c8f0e8731bb19
|
|
16c2b312f31b1f357af7883ade56142f1ec61ade5417c725f11b75ad30cdd17b
|
|
f334a22d253a2da94845f0fb57b0ddc5b2ec66991c7777f9a813f1e99a67fd57
|
|
f9fb1438a889f376a391a55533d199081678468eaee62b29884a9a0925d8753c
|
|
daf4bdc143e36f133f76e1ee4589979374a3737fe7f21699754ba2472383cad9
|
|
4506efd516e4ba4930fe483ff1a9bc412fe574ff6a9f6fb08168f15392160b87
|
|
10600a68c7744ed47ab969a4759c61a24aeab17ac2502de9b9283f8ae64d3411
|
|
6b0a3319d64a8c6bb1f47a9ccdf6b7a77691c99edd3d596bdae1c8039ae503e9
|
|
d3574dc88e023f739c96d07aa216c21c8cb5e8dedc866ff5a31fe7a0e6502c7d
|
|
abc559c006c2b728de910c34f7d0d0f75ceb3fc1a676e727ca256d0e6e81ffba
|
|
2a25edb0c1eeb4c3de58027c7d81a7e7197286fe69290bc61f990c33e69a6ea9"
|