525 lines
27 KiB
Bash
525 lines
27 KiB
Bash
# Template file for 'libreoffice-i18n'
|
|
pkgname=libreoffice-i18n
|
|
version=5.3.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="
|
|
da672b943ee8850bef9161f92129c8b8723dc0f0caba8d3b763b0e2c661a401f
|
|
5ca0dee22ef27c5804fdfc70cf638fa778c1604ad7530c06cfdf0ed39ea13944
|
|
405afa75b3effdb88392766ae8c06c7625a063d1708c30ea535063c3b84a58d0
|
|
bf399943039919e638927b92803462fb533d25ce53e07016f7332e139d315a01
|
|
4e74bb36e3b4edeb612cff89d3ead8b9fd28cda137a353cf3a6c210a8c19ffea
|
|
d8aa66b1cf263f9c6b6f27081f81bce5bd329f9245aa2b4c792e623d7f3c6113
|
|
5187742f7605a7c694b4962adc676357d35674ba3298d6d11f69e904712f8ca9
|
|
057a6649caf13bc5c842ad73fd7b802fda5237f12570cf7cfc307994bc5f1ff8
|
|
f965e7c7feef1d96e9be6b66c0e8fc2eeaa5e3c4fa91e88d6521edd57918446d
|
|
83c3627223af3b0405105c405913c6c8126e753cefff804b44a00af4c2850917
|
|
aaab8dd48a78b10f4f60829631bd894dc0c6155b57b20f14e653b0691b65d4f2
|
|
670f2dbcfdede09d76b76987c83b803256faeaa8049584bfdbb4b8c0bd1f89ec
|
|
d56556ab9c0fc581037a8c7486a6bb810d448cbd6ca4ce456c0d15b116bd1c63
|
|
4d609539e7b85775c33d8495b9c12192b14e419b11ec72396e54dc48263ff141
|
|
7fc972e1508e92c0c9b9373d9a622113027bf42b683671258041c7ba324ab1d5
|
|
ffdc9b2b9a362a7cb60e1ba68f2077acee4814f63ae1b590ca64851d9e4a46ed
|
|
d77b7d4fde44b5cc8dadde723b39e2831ff02edb5a2037f974b7859a217f65c1
|
|
b7b36a2f6ab2de99a42f9b15298d42bd2def137dda808729df87f5fd6a406813
|
|
28c51b77d6f96fc4101274970d88f68ec867a5838611b7672a7c6e7dd8c34fb8
|
|
0f9a029bf1042d36e68f418f99161b90878675d53bd6d2c2c08b4629cb69b863
|
|
6014f3ba62245678cdb24bff1f6391f8a2642d0a5e550b4af6641dd84ab55ae6
|
|
eb5e0abaf5907d88304e7ad66fee6a5323488ebb4fcb31498371ebd1b7888bd0
|
|
b43565603e7eeefadece2c803158f0b048b8f7d2c4efb8515dcf2f345c708a96
|
|
c7e1169a3eb5a0cc5d4579df73ddae6284b21cc59c14c251eeeb7f860d5718ba
|
|
1064784fb0d8edf1885c845f126251e28071a85bc339542d468f8537a52ca435
|
|
a9cedcba1054c6a21d656841431af85bb4f31ab07e18cb30bc976cf3f79a16ec
|
|
0be1f6ba561072c912c3adf6b788d6e227fbf38e93e5640b1214b0ecd07dbef6
|
|
fa29487eda646f4d3692db25ed0b251af473a25d34091de483c6e854e19baa3f
|
|
ee8abafbba1d17863299db5ae144c6e9169a18b7851aef94493d606a0f08fe0b
|
|
e792e6ce5375e412492c359019becdf14d6bea282b05bb9c5d0f469818621cf3
|
|
624b1a98910afe46d7a035383c35b53d8864902431dbf570bc2a8958043c023e
|
|
a2ff8874113ffb9a9ffaa54938a86f51ccad643784713221e04ac4374842b09a
|
|
afe34a4e76728295d69704c1066967dd9795a6b37e95e3463bee649ee1f31f84
|
|
a7c93e6c775e03fc276af2056ce24a1ac1fd9783d19bbfcae688398105a7355d
|
|
84926b4b72afd65f8e23bcfcf0dd9304559691fc8731b4b440d20a55ab0c45e6
|
|
3b855910114f2e96642874465cdaca3af95bf92e026802617d0f8277cc0e47fd
|
|
37dace20ca7a20b41c656e70d2d14a53ad2a21de861707836fba1a441b2f9a78
|
|
fe9d3060e049ecbf19b253bb1dff8fd66fcada1ee063f010a98ee5b5d8b09456
|
|
07d0477f9c934070dec79cda08e563d3f4c8570ba1c4b32054a83a0017f2954b
|
|
80d22a7057e9547a2e90a99a4a664b13ed58462b82e671c930d52f339db26f1f
|
|
6143ffd87aa39563e2bf48922a266d755358f79421d037be0d02e185ef06f7d6
|
|
cf956ee23ad70ef9bbfad819e4633b34664f750bef4de7bc3dced47ad0d5ae35
|
|
4c153f9a45211dbef1ed100bdb9b9d18e2592f4f84c7a9c016aa53f9e0781118
|
|
3a8cab30f964c85055f43f3931922d58bd9c65df08b268556d9ff9c55e75fafc
|
|
0c94b2d258e447d82423e79884e246ee34110868d21a1e34fd284e32f71d88d1
|
|
7214632429550daae6630fbbd427f67c638fb479abd0ae6a8dfcc5a688e669dd
|
|
9c1f60e69afcd920360b5fe2f4a468c15b521a7c9a535d9619045a556aa55fdd
|
|
5690af3da52a56307e75e011730fcdb79cec1c70033138a6894426b252c2e5cc
|
|
1a788762db13f2b7cecadfb5a7bf97fe962df6c412649e5928dac7c3fc0b04c8
|
|
c00516b6c2851b504ca700e27fa9267917185da10f4aac19ca9ad712a256ed09
|
|
d16fdaa44e1397e64fe5d4ea2502db2ecc46087a9d7fc219482a9ec66634fcc2
|
|
1b78124c27de3655c62a4a74029c98a6539aa87b969ca91173e562f95dba2e52
|
|
2700cf17058cd1d1446c93df463e8796dab3c8c234130b35b425e5a6af36e4d0
|
|
fc553273b67096b12413838dd1aa00e60575e1a2f7a0a4477b9f7ab2ec6941c8
|
|
f6bc08b15b44ac36fc415b30bd4d76d0dbf1c2742306d99ef42f49b19fd6dff6
|
|
65ee5c81d2560c507f3ca4f57c736127ee0ff06bf2a8659e881596a4e9ab9a76
|
|
6ca1f93295591d4e427ec5f74d86504dccf0d31d48cd3000c3d97d73ddfb592f
|
|
a2b118b58b890fc976a7c387fc06d9b8eeee4070e5644a02bf98de8da87a9ff7
|
|
ebd016c45f98a0aed3c799477aceeb21e4c679b7373c86af5acade707738ad24
|
|
ffd3c849f40eb54d918745a15471a6e39125720991cbd131a08c60c72e79a5bb
|
|
3dd431be1360a931c7fe5f59df6673004db248a8855b663f37153118b4199f87
|
|
0e7977a455fbfe3652b4cc4d04721ebfe8014b0ae3108a853486143f90e72903
|
|
5b4d5456ae0f407201368aceb1de0fd831e2f9531cfb334d294cd62f9817551a
|
|
3cf5c48078f0d8d3afe13c844f2a584e66de077dcca8a66a50f50289191456b4
|
|
ba734addb67ef4cf621407a52191c5d7e5e6b1e993fdc09a608f43579284d81a
|
|
277286cfaa464fa8d010ef2a8648a9f1b976a882d954bb6da4be710872c52729
|
|
7095a0065070f72714c62cedb602debe55cc10e88f43496cb67d24d8f065d9bc
|
|
51efe762579b785ef955dcb313639b515f37e4b8be819fc70811864a3c61349c
|
|
4df2fb814b948176d1445619976f6d57273d7dbe5cbb45ccacc9734fb6e7a082
|
|
095d33872a6793c811516281715266ee5ce165208f12f92c60b4b871fcd4e259
|
|
7a9b134113a9bdfd365671e2328364a0981dd1106bfa9cb6077abc344eee5529
|
|
1c6de3689cd55c2542ec42c63d605a7490665dc5f3ea7d71c4d5ae059cf72220
|
|
2fe9f0d550e396d50bbc91a106b1f132528f6540457a5baf7245de46b22a6128
|
|
56e9bfa556f4ba07adcc9c4102d060a9b05007c8ab730260134256b59fab7a43
|
|
656c38ddc6b6576842fa334355499a50b2a4f5ec6c9a2a08f8192bb0aa9bbe61
|
|
5dde042f8f6fdc9b78003505c47bdb5ee4efdc5a4031107504bbc7d58326ac19
|
|
c0a62a7313841174e5a11cd0c6feec1ea06ea73b15efb339d3bd849e18d518b9
|
|
2f96bd5a9d5a80389b82f8a0cb83036497bc2ef9402e5d299860b5dfd85fcb59
|
|
9123719563322bff8e1e67a1ed77ebfc6ffe20580b060c9980d9240989bf988d
|
|
89508d7c736bdf85fbf23b6577696c60e7e03317ab8810a719cd5766cb96e7cb
|
|
72e167fbb04708d89115761888a6c718883d4d2f6cf245d857813e996208b382
|
|
fe3677b7a071411e3ebad8a96a20f0db3167624c97911b9ce883bb7c98207a41
|
|
bd031f70b2760755121940ede6b8961cd686550d4b28a048e16c4fab759cfc8b
|
|
5272061a143354c54c72e741e00545d53f45c3a22752481c5cba6a6153333784
|
|
eec737f0db7a8ab71a659bf257d96da2c5646c3072299cecb144f653150831a2
|
|
dc1f77d49a3677b49d188ecea49471e38dfdceb4c46a9f0f72dc4239dc2606dd
|
|
5a95b486ed794369aa2eb7357cd6d836ea5dcc50933864f5e63692f3aa4ba00b
|
|
1a8df6d131262a69dc227bd9b455ab3eafefffe384aec2e699e15c152d4761cd
|
|
d364e584d980791461718b95cd79e88df6301d3fade2ee16967518d663681c23
|
|
9d6931425dbe408d0aca9d0eee115bb48fddbee08a50b48326c3938d5d57539a
|
|
9a23fe06cd6cf246bef85e082fd09082ae48d7b873c8cd768e23d49e0fa23c40
|
|
a282a4e655b1040d1a7731beec3421b840f1c30d23352d8c5d3a6ed663acb2c8
|
|
a59c12e7b4c8916e23b2ef97dfd1f6c6de7b0d8d4c36067772572bbeaa62971d
|
|
d698bfed8c5e8b8b139d3cf13d5003f79990881e30fc743a1841e7de8e49a4fb
|
|
a05a556795b526462641acd8942021b2cdb877843b8e3717b0ff1dd29c4d424f
|
|
91afe9ff3d7b714f02011f494fae96691cbece9688d7650998141f9e34567057
|
|
693638336850add8ac9708345b24cdd82a99c4cd91ba562876ac66865f83d8ff
|
|
86369554933a90189a8e338e4f2fb3914a9013db31e0cb60412d3ea56f639dfc
|
|
97ac2b25d7fe2d06cc79956da1ce371799ca33c39dfe94346139e8aab6127681
|
|
baba48ac367bcc1ba45d9d65bdbac4c8f98cc3a5f4dae38249f4974ba3ceb12c
|
|
db2a76747caf2111c443e1c3e6130faff2340cc614b1ccc01ae03587d53e02ec
|
|
1137675b09912d663bd8d5587701a8e7ea62b72424d28ba24304fa3d6791c957
|
|
e2b98189db8bd237e31b382ce251ddf7a624217764d4be72eda5a6897753a192
|
|
ca7e6247d63ac44a8376b3cff60e6cac0804eda23d51b75f6e1e539b7cd0a9c5
|
|
07f2e5792633377edaa719cbc8ccf1b8358e8f68692f2aff36df21c864a076f1
|
|
80b06bea3f6a7ee8363060dc169ed91fa5f9910f368d597e2240e317b3b6b0a8
|
|
1334fad282a0e0f30ba41727dd8ffe9ede47234b4b8f46ac3bb7d37c6434178f
|
|
d04e45529fe8141242fff30841a72dfd577a1a8d005b0063ac7e9d0ac75f3ffe
|
|
d45a412bfe7124245045940a2cf0bc0a6721f577d509aefbdcb59d2cdadf7aa4
|
|
3af39df6cd30d789e3258d1c5031590f13927ca5252c23a2240d984904797270
|
|
5f468ccbaa98367ca1162b0d9fa5450b92065cabbc3197cb572ac6126447b769
|
|
73319209e5aa1e23aa754de064a5b434591226186e33c61b1a145909a39504aa
|
|
e352edc0b37cd26e78884bb3b1dc237845b63c98d460d0acf15e9314061d4acd
|
|
26e46027a17d49373bc2a281306332516bad507eac1e22cee7d82e8730489c2e
|
|
1e619c361535b073b1c6f7764de2bb7c325e02d0d47f1ffbd3e85648d1188ca3
|
|
1dd332bd31eaca9395178a6a9b92c391dc97b38fad9b8d552e7e2844b146c4a0
|
|
5846ada273b5bc2a6d3d5fa4e6c0bf6323ad6ad3e01357ac8bf3742bb6dacbc0
|
|
670b32e8f061b58906611b87ed3eff7ea75a592cec653dce181a6217d904948c
|
|
d5baaa02ce836743e848d0cc4cbf00f30a7b1bece0d854f3331dd50ba809eb43
|
|
d6eb9108c1c6d1a7823d4da7e03fb331cb1591e5183bd5c171166f6af4cd99a0
|
|
33d5fdd2ab7880869076e342c72405d761c076cf6ed5703037262b1cbce70d55
|
|
8542715d31829a8d46d83a24865e6120b71d575088e4d59312416d7ff3f8e9cc
|
|
bfe8444d5ba00a0cde9680847c9169c46ccf8bf50194be93a8f32406368f5723
|
|
746e9abfd271b16dae009743965b42d690b4bad438d1763d48970e731efad790
|
|
ecc892b867388c47bfc312db4f062b19f0271af4bc509a81fe4b9b6519711335
|
|
20245c665a0e62cc4a523bc73bc89d346030a0eb072820498e9545b17a80f070
|
|
53a594d108c78dd4c66f5d67292c2665c89f5603fb8f6fdcf9a9ab1eed9befd5
|
|
d8236d1ce79b5c44e67ad9d8c7ef3e42445e8e5ef8d007e3574521f60911623d
|
|
17015770e1deda0db03a8042f982b4d1e2d3355119b0cae13abb1f25e30befc7
|
|
bd658da91c034a803149c2e9f56bb48e876d3a52c3a9b527c19bf6cd7c647894
|
|
331d57ac73cfd50699e2475166c0659c07c3664570165c01190ffdc04e1179d6
|
|
b09ee7f90ad95f7e80fc744fe880b8ec0a95f4e6913e15d6f70948f8934bf5a3
|
|
328475444915d018c03c949620bcf85f74a3cae333b961943a1175ba03151eac
|
|
b6cc01e8e6bee5038ccb62f1a75cd3fd061b0972d54c54521411a034f20dd89e
|
|
c2679be22b018086e2043c1ed7aed8e9ff9c81d6f191aa23916b16adefe680a6
|
|
dfc1e593b37068f2e87b67e638799d72150e44e5ee90204944e39637be23566d
|
|
96f68d999bbdb69678ea660b52e97e558a715d06d23b8b61a66908d39d1790e3
|
|
7859bf09b335fa80b06ddd7d46c111cf69f6df9b3af3f2ea2e76899c6cd8ec80
|
|
bab2267750fe52b893cae6a872a71958ed1475a6c4824484fd532ccaa548de62
|
|
4dd9b72459ac7e8520a5926bec17fdcf513e3562470bef55ca286cd194db0286
|
|
5e96a391659a166b9f90e741a812db2bcadfa98d11e314ac18fbdc1f32162fe0
|
|
1ed75dc390dd89ac5299b124dfdaf402ab8f720fe9c556d95f69206278f71fc8
|
|
8dbc4d4e28a9d53158be8b12e2cc5284a4ba1dc36eb3e1b5245bef13fe7dac4f
|
|
cc118b5b898dd238312a6501edcab101303b8afce83dfb7556ee211a16cae4bd
|
|
e3425f44aa6039d31a6e0258474f0b285ae16df89997d9069f8ce605bf15c604
|
|
c62d9e8eb532fac11f294f192e91b8cf97d5d799162d9195e3393552700f5e7d
|
|
8cec32b2c5d84454ac91e2a32546a6d636123951fa1aac0b355bdec1b084a596
|
|
90d1c733227fb31e8bb565c356448ef674abef93089c0dddc0fbc8fd0dbbe28e
|
|
0ee9cd9a9a5ddc6fe601cf72c19c2d8118b07d7722d51fe40f6c29e534320941
|
|
a33bb1d9836cb1e9f2fd902612dc90ce0f196ebe5741283dcc7590681de0f474
|
|
959d7c690a99bb64deab18c316af07309edad56a433e18cf4e2b6de5ef4e104e
|
|
e015416cc60a0a9e417b1d5f43e64f8fe04e3b9a6ab0329bcd0858019562169a
|
|
517a82a7b5ac635066642a5c7fd5b00cbbe08df500e15bd1b5c1d3f78eb1df96
|
|
8e564cbf92917e9de83439945c2277f4f8cd7d4acb0b544956906336207f66ca
|
|
484432f9ebbbf3601ade198311a85e3a5dad460d16eb5d9d467c4c89d5395643
|
|
72b5625ba315943d64b1345e2e2416a675ad89aea047d4bb7233395ff4eed1eb
|
|
72ddbfb267c0e286d0a413e21beaa54771498ad1ec68d0b19d22e070ca8c5084
|
|
cce7181804b8f98a21983e55185ffe7b53bc20bb140314b8fc71e43df478097b
|
|
1aa9b9862f6b142adaf12348dd3469683f8bcc952be0944d2b7d041c0741b5bf
|
|
fc1156d2d7bf1bafc1265ee1a49aaed905434b51c2b6ed8fefbfa1b1b7b6b54f
|
|
22aefee90243bfe60bdfc094a685a97aefdccfeb40a8b0cbc3d4bfa51b2bde44
|
|
d20dd311f6de466715e1d9cebad8589230c3de098548df0970d84034408d19cf
|
|
b60dc984b158621a4ff332093456c325d75d6bb3e25d300c2a6e331a586bcba6
|
|
d019627eb4e990bab9e2a805ea3da62300786c4c6c0d41dafb501050a1358d4d
|
|
9de57dcf7f401b67c4080271186fd201927942dbc243f66fb39a33bce1aff761
|
|
745a010ef51f39c5490a87cb9dca455d61cb4b8c5be6b60c1b07d9f53fb9a0c9
|
|
478f5e6fa3fd2a168b9c3114f62502213ac64c4c442c07609bba877a6bea3223
|
|
3b3e7673c548f359f19474b17826cc774f4b7c93e7e772e1e221683edea053b1
|
|
12856099cd519d281e5098f8cae662924554a3058f66fbb8ca0a70fd27a44230
|
|
"
|