524 lines
27 KiB
Bash
524 lines
27 KiB
Bash
# Template file for 'libreoffice-i18n'
|
|
pkgname=libreoffice-i18n
|
|
version=5.4.0
|
|
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}.3"
|
|
_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="
|
|
a6c98268e063e259010913ede6f52e34d3c94bffaee7ef971e23c0325f6984f2
|
|
b5267bb22bc8671f7c062bcf725eac1af0e124586ded7654cd16de84286fcdb0
|
|
222ceb6a614efe3932bd6c6ce193a766a520aca5937f78528069591c04aea630
|
|
90e93b10e470bcb21deb570ee2b0521f923ca6caf5f838294ca256035bd61d64
|
|
419deb3e060819f232b2fe6c0dbead02f2acafdc75b4ccbbf6f22c005ee2b9db
|
|
5ac055bfc06263d11429c1409dc4847471f353c9e1f17e3305e57bbea60d345c
|
|
216e007ce7a6db12042a6ca8bdceb85a960be3da6069c1df069cd32ac9e7193a
|
|
557e75216ce9ce101166a1af06ab43fe1b4108505737da36e46f0b7e86eb1609
|
|
565f543b28eed7abe19d18e4339a980588bfea36d179aa3be4a4023d872cadbb
|
|
bf42a5172ecba4636d9363a63543fdd42035fc9020b6832efe33c0dc9d3deefa
|
|
0aa028302f963c7ccf3cf4e62882c6e61f046f23cb795a55e70b94b918e4911c
|
|
1b624c07b345d8ee55ab19de5125e95b6e42583c7a45bfee4915cce0e23a0b42
|
|
790ed0615e4929939996b398590b14d955dd118b05d609aa82fc06ebae8953b1
|
|
cf7ed4ee4e3217b0ee3103ddfc6c88e8fe3e3bad25eef5db2095dfc31b23bfb3
|
|
a8b2d2fc4a1b7c95e943c4d1ad71b5bd1e335da4f5e731fb695ddfdf61766705
|
|
eba8eb76b1e54cb1974000b1d9ad3f976cc5915a46bb9da298f601421fe4a3a6
|
|
9c4a0e491622ee344b2bfc850b5f5e579173e85a2158caa04b1453fa2514197c
|
|
d2556b3961328e8128c44f7215ce31a805d2316b2ef940caf4a4a0ea17fc2105
|
|
e689ab66a0597c1f6507974e7fbf6c0f11cf66accf7267903daf1a18bfb6dc5a
|
|
73c96e7141bb32f62a603679fd694a7d24a156708f7c9d4d733b0ef7b262e95b
|
|
81e5e5fd8307cbafbc04711a5790355dff826c996adbffcad193ee34e09d90fb
|
|
1e10c9570903ecfc3d69fb05ad91c9c444687038b0cdca6bb009d746d74a24c4
|
|
bb3214360150b07063da33663ffbef964bb68986ab2acdd902e02752497e11bb
|
|
d676bb8cced2e3f435cc582c81ec5b19497c262cb49ed3e72f11fa2f94c36ca8
|
|
8528e875ef4c7946abae4d296fe072145837c9aad5e9aa1649a0f71e0b974ed9
|
|
332ce433dee7cac19f40227ffd66991da4eee7b2d7c9fab7cf82e6feaff6c088
|
|
849195f2f1cc233dde290f4653056375d7b04246313f00c263b7ae7306877b90
|
|
ec87d5211d0745e4a1c39bb091b53ccf02f24184a37d4f986bc931d8de7f7b66
|
|
7fe2910bcd009115055553b8f61640cc581a80f97c17396554a50266ab0a74d6
|
|
62ea784f23fa6316f41832799641e0066d055d8ab192c6744f0d3420120d3819
|
|
e392c31c45d75e8e77fa805bcbcf2d9d1d8b3d031b37c57c76bb4649b6eeb313
|
|
c4450e7b3e273fd26091d7e363736e6b2c6473bd020164e272d2fabaa42faabc
|
|
5fe3db9693a02bb2c1579320322881d9c1134346c51555d4e688a46a87beaa00
|
|
8ce571bbfa8dcf0f1b867c0427c4585b404a403da2011da06016424bf8568a96
|
|
7b61ca324828266eb22e2568066688ca37a3a7b04566dffa8338a9b554e9b35f
|
|
e7124ef7e958823c56664e36dff4c9ba6393662007e5b7259830b99576fccd8a
|
|
c2c2915bc7326be8ca876d2d133aa6f81efa6785cdd289fd7a46ff951003d2b7
|
|
923ad8f79c92f39bf65a4b482d708c8a7b05cbe88aa11239c56d70426512b0ab
|
|
791e4cb5c918a72128d42b58f789987e5bc26bd33e5d5d055ae2e6016e0c1812
|
|
bef2e26b9d8f00fb291168715fa7d7e818b8f74388338e806c2271283ba94210
|
|
2be48d132bed178ef4d3292ea546c360bf4c1f9d5be1052658f276a64001cf1f
|
|
3952d2d21769d77eb3abba312aed3c8349a0bd6ab0355f32af5b11b8821e2a9c
|
|
157f7d36be46c570db6c634a68659be885a3052adbe8abc2f7d24b406cfeaaa0
|
|
8d18d00da162a485f177a7df2c5137b0f9f87e9f1cc50b3f791d90f7e63fc85f
|
|
eab8cac9d6d1b66a0bce81959d069215cece3a0949f01717e80b51321c2f58e9
|
|
a1f0abffb5b146b461477577c7195a3cb307408a94ff57d3a6a596df1c872256
|
|
cc1bd0f458a135da35876ff1d613d09b5e940be2eb35f647dc06f6d4a196248d
|
|
c5d95c74b8bb2914c7f9a84ad958747423267d72e6e19d59021db039ff226caf
|
|
1c4c3b7e17c04c28009bb4aa3f18d9ea99e4f8682ff24cb025eddd466a7cf609
|
|
6f81baf1185b47e9058ade59908cbbd73c535ce39f2fea5af980a407ab9bbab7
|
|
c6d7528c614d7e701dc550ac41ff162b47bd80b277c788d0d65d0cc040be47f8
|
|
4fcfde2ef12a4d87fcc9c2a7a49a4d15cb54e8ac24734ccb9fe5a18e8938bebb
|
|
c68244976ce9782524e48683c9c53710377b3513845fbe7fb16ad5baa265ce20
|
|
b4ae869748229ebc7d4e20d413db34aea0ed7f4acb6353ce05404648fae2e753
|
|
5d24e748021673caaebd1ed1ed5b7679b632eeac71fde0a0a280565a4feb2996
|
|
d016683e78e36a9dc014f403d50adb58990f9e7fc16f79ba268c7630e1758403
|
|
1c35e46272ca0d06e7def69153e4a231e99363c9763d9bbea752a22fdbd3563b
|
|
35b97d86c42d460db6315eee5d1b6f07dfca56aac33585577f26ac025fbc3255
|
|
2b5e2c3e630880151178b963f7b22e9d4becdf191628788abd62e7eeb5dba8b2
|
|
37e7b77ab9d28f6ab27a19e1ad84f472037983fe95ea2e3763fa5a5d91218e47
|
|
75e6746fb1ad32d7ba81c73201ee92d31fc33ff8988147c15cb2c09e948e9fa9
|
|
c24d32dde40d0da4a0548d3e67ae879d18581448c3f8f4f3485fe788c83fc64e
|
|
617dda964e85f93b48998b26b6c170e81806d07c89978bc774fed2c671c14439
|
|
b65146b6800b8cbb721893ccc5bdc56812518f4ecfe7bba34e5f7216c096c768
|
|
13eda6bcd999c56c2701a71ad293341706b78b807753aee1429386a3423c20ab
|
|
2a302c53ac355d9cdfa86ba336e1da6939a1892901649fe424ceaf1d123e4fc0
|
|
e372e25a7916fd2d3fa979fcdbc52045a2dc5f897cf2d5e754d9d9adcc3e17b3
|
|
42805e59ae6ff148a68300357b696eaab9c4f2d2b48c77da21d2aa19377ad7ac
|
|
02f9444b95fd4a61ef713802b489410a3d9e906e9da66801cd30c29dc8b44861
|
|
e7ed20e5c7847aba4daba9a0ebf28006119125f8888e97862c2e0f3ddd314ed3
|
|
331b00335f7c211cd0423a1f01eef4bf46f0136122a13607a39bb8fb63524439
|
|
54a3da730fa00a9a98a4894db1662a48f19b6655caac9f7d9e886ccdd8460005
|
|
23f40835d0e338e09d70c0d053a9509ffcffad2de1f64796e895e6178ce63d9b
|
|
b9fa41e1985168ace0b545be9019e2112cfd63bdc48d4186107fcfd486333811
|
|
e36c60c0479fc211a742bdaf80e1e5d0cc6001137e0260848fb9fe0de4f17dbc
|
|
4c90821377df10023234d0b21017bac75875a7338ec45396fa229c822213bef8
|
|
19db5ad4c26e276f07d73f9beb69356b04a9c05a372cae65cb4b2d01cfa6179c
|
|
cff2852113634e30cdca878d0cd156506d7339f2a2150fda48ee90e5a3597670
|
|
f8517c2bf25db06feee14ccdbd34d48ce38a3816eaa90b8b403b4f1ccee8fbc3
|
|
5196097c0c3e922ca4c78a8e8386b45e8d7b1a062020b2de9b75463c1271e860
|
|
2d82561057f5e47186833f300a45c1051860e566be3bd654fdb029d6fd5804f0
|
|
639f1567e1f7eaf4847735815932d1453546d3525e3355f3c709cae40821e781
|
|
a3113e59a16f7f6f5fb7bfd969b8b088df64c8a9315431d672d89d5cc7486959
|
|
98bef7e3d0b499663bd0cc950e5b31bf5ffcafae1f8506f56d665f30d71d8b5a
|
|
62c81927f21a1423a7f536cfa630ffc2fcdfdf646a174d740e2b8bf04b61056f
|
|
5ec5f649361af1ea2fb72dfb79ba83e7bf12ab03d8921c9fd1117c230ff3dae1
|
|
ec493340b58d8d04c18d59664106b83be3fc1ae5028bbe2acd1163aa4928d593
|
|
c564fb3c38656dea80a6f788f900f5f3dccfa71fe1c95b3c6311179fd0bbd8a9
|
|
765a6b4f89db78051fdd3c99283bdfc972194e2c6e214a260e4871e68877401d
|
|
3cf577b1747e2417301034428b418bfde40137e3b6e06c16f3aef38963661d55
|
|
0032420931b5ffea5ec60b3f821a9c3a5873bea0b27af4f4b9697d536d0bff80
|
|
cdbe5f15843e20aa454c385d6d17e2b3b02679d10bbad781e727f884d9029355
|
|
6e91c4c7b3b2b9daef0b580a5f725b3e51a067aef7dd4c36ecce37080dfdb8ef
|
|
64c225475f544252ad1fef4756f21fc59fd2a1af34280b64900d9f9cb40d0aae
|
|
3dfa051bf7acef735733a98fd0f6c6804f23e9959c612ee404c06c9187745200
|
|
22c1769884b7c67a4f6144a06eb768b3f132a72f744bde7a03cb68cedb4441cc
|
|
5f821d485d7fceed3ac65527790578744d6368eb5b723422c03088ad13f8b5e0
|
|
0e4fbeb63daf327705ec94d87750eb4cfbef2d520f0df04c297716592d439307
|
|
ca9e6138763ba6995ad94cac1786edc0f4d1d89976201b21697e0d3d9e7fe2ef
|
|
a0c9fd73665674ade72725cb43186a3b2273770c44d2f928ce40f5f5e4fdc145
|
|
fea2219b3ed98e7bf8ee9e14d3e205de27cfd54cc8794030e6abed0276bb68d4
|
|
274a57f0de3f1bf5bf0cced53d9a3d251d70453dea27357512a2f6f3d3854e33
|
|
9d628e9b1d220aa96d35eec5dd9cafc2cc9c2346468aaa7716368483c9b174dc
|
|
28d50ed7fb714711b8167bee35f8928e5d3c6b6c65b5d2e036106ae4178ab104
|
|
12c5093519d1cb36668a81bd08b87c191a271cff5ce4b6370f4f485482050923
|
|
a312de5473afd90f99c9d741a26fe89b971f2199b05d0050670381e3e8ae3187
|
|
8311c2cda00c965bb1c46d648d9047e1e09f4eb03dabd024d2ec1c2c7a1b5724
|
|
aeb5eddc6c0ba0604078d62a861b79a2cff0dcaff610c2a04b6246b67f6b41c5
|
|
f4decd4c223f4212b89b4427036ca600e3e57d0b20f9522a39893482de93a596
|
|
0e07e973f4baaa31b3629f5a016619e81d7b8e32af8d85b2671121c74e323195
|
|
71384dea24fdf7770a16fd8ded0e1af0c0742e6d155e690089a9d81aa66b3e46
|
|
77220b069d29542e9ba057ca3bf9bfe50bb15e8cbb30712ff069af61c2d41afc
|
|
8114888cf6f59146f58d8afdccd7cd15d19ea1818cf50822636e5de45f3d8f2d
|
|
ec4fb059358c99ec4f484d4e83b84f675a143d649c73a5009edb46d8fd82630e
|
|
0a08f936aae0f38914a4578c16761792d193fb63b99f0f5b93b962ac79fa2304
|
|
5b7555ba68883e109d7a56082ad7670792b9128361afd8f7bb431e72264eb2ce
|
|
763053a5a087854a24b47b68831413e41c9e8dcdcb8d81f4f8ede300a8f3faf9
|
|
6428484ff6f75d281ce11e14dd4ebd42df1f75f1299ad3cc6eacad564379ca37
|
|
5f33b06199001e343cc9dc097bf68ffef9bcba8bdfc01d62c6204a01b1bccb70
|
|
86b991b1ba1c37147b7b994032deeb6c1e04cdcb4dea79c28a0bdd8933275b59
|
|
91f792975b8866ee2a19b66d3f98c49c4059b2a751111ccfb49c02112ed44898
|
|
b79a7420866de0559fbcab3c58a450a3ece838c63ebce2a756f2a288affda950
|
|
6630a751b61cb1219e680604b9c0a2e66f8c98c03ac84ed37a1ad093812e2d13
|
|
f3440c4d3814d1c5c3b9492e7ba71996c73ccafb0bb7d776357339878e5bedab
|
|
338cdddd64fc9265968fadf8b52416b0c300ae0d353ab93be2c1077effac4a09
|
|
8bbd65478d41e2db4ff4fc3209727a90b943c25d2ec963af946f81dc2cebde1f
|
|
17ee5349ea06beb04294c1a3dfa2d01bc23d1070226270f00c93b05d069bd563
|
|
303ed274e358d8214447f3d37e7b28abaa6a9c2607726021e82a0e7e4d2667cd
|
|
f558863076846de93b982b62630dc1406b773e1d9844e13706abd3ea1dce35c6
|
|
c73a40a26de0dd36f2f4aa71c222c7fa87b7902ba52784fe69257aec7324f20a
|
|
4e5e3030a09e526d336d37c04a1b8e7bfb8e48805bae1e49059af242a79495f7
|
|
56b3f379fae992efaf28306f6dfe3542fe2f1ca374e957d8b076b4bbe7aa7f2f
|
|
7a7c5b7c5de0a8b5697e7c137fc027c1acbf6feb615aa7dbe70a3bff1499c860
|
|
3985349da3d5f41e94e039195402b5a9395f4ee0714338f22dcc77ce369c1fa2
|
|
ae368bb23b4c9875c91c2abf8510cc0463f750fa7e2d6e90823d615d0595bb0f
|
|
ee53da8b0f722381517fdea0acc5d6da6820705a4a262ea342558c9c45a438a0
|
|
ccc18ec68fec5c60f6864058aaffdd6a00da4e3feced5c6df9b2ca748375ce13
|
|
2a54031cc0308df3867b471d559d1ed61b4a10b91bac59870536ca3a1756acf8
|
|
74a693afbfbb9ac6942488d47811abc9588d21abd9cdfd9c1dd614b2403d0cf6
|
|
f9bd7068917858ebc24031fff914d51ab856663237d4a44eaca6cafb0e889ada
|
|
6f4fc840d900f02201aead11c1724944827e89a7992f0bf1e7028e60d9975a7f
|
|
c561f3fc90c71137ffc9f92f6660dad303baabb06450d4320882c1afbf33e92a
|
|
135eeff9c471b07ca4ad30a605ca309113f1899d0602a7eb9f781d1b7719cd36
|
|
91c7e8a2fc37f253c0b559a50bb5160f64be1771776abd5e2941efbb32d0bfac
|
|
eadf244c5153b0397a9987bbf2761cd62f55e962205c720d59dbb8707e75acad
|
|
34ac003d9320816ebc5253e7fde0e9997afb393fc868880e1bad2f456ddf5a8b
|
|
1faa5ab4ccfe867ff51363d292fb6697fc527cda6a9f989a19bf62627d53ef75
|
|
3f838d3bb44f15939eebf9e9aa5cdda1446513f5bb389ed37d88c3d7cfde81bc
|
|
07a0a73b431c9ab6010c5eb0672ef8e0ff4404b512095035803f9280dc63e3be
|
|
7844cc68208d7b98b90c0b3659814adc6e38b3936e820543f59ab42fe4fed5fb
|
|
8fdaacce2724232785c8941376fd60e4cbd1e92d28f4fabe9b2789bc14b60af3
|
|
fd99a41ab347c078ed2abb4551d787ee06e8e6fa651dbd11f28446af446c26cb
|
|
39ba4e98d9ec3b230876e20097b0604ad950683e4dbde0f8448af111b8d3ad9f
|
|
6159b927ceafe2c77768c218968b8da786c9639e4d21b29f03d6f877bb9c5492
|
|
7a5808847f76a66f4b6d8efc5c15cf0840156752c8391e8b45b107c3f92b464c
|
|
842b55e2c04a9a1e1e0ffa29c2baa1710cf77633803cdfbc41c9dc429aec9b1a
|
|
f60bae2b1f9d2eb0c3c811ffc57b0447119f7055c68284316e8a5ce9af207e54
|
|
495422f8a23b7337fcc43774c07a689fa61400be754e2bb69aa5df82b4f68970
|
|
f5646ec8143e02f2ccdfb167a019747439eff36f8eaae0ca68f5976d8f2c4eb5
|
|
813353ac8ed7ba335a1213c2052b45c9880b7ba772a0f35fa03cb9e868004db6
|
|
ae8aa138925a2dd992b5fe28858246285b8982b1009b398cb2c3ae0e06c179e9
|
|
0c4ebb29ef5eda178ecaf9f4ffff7728fcab03e72d48f33b30ef05e535eb6b41
|
|
88244ef7d54a5ad30f1fd276702701478c7d15f297cec01a89ffc073a5c862f8
|
|
c03089e2709db0decd64bdc6cfe94c943488383e265fa0c55d1191a8e2089f7a
|
|
1c652e3d791baffef8b9e2f48fb838524c7a1f0287681ec04c5e212cd18bb913
|
|
3e981e38159ea284c5caa970256760f2ed20f42e46f83c0aa1052a10cc9cb63f
|
|
5ea92a28caf50ccbe4d457abc819d52aeeab6e129dd1f2b48a0bb13f57ea7e92
|
|
b0791740dd985f747b30ee1dae1bd8a060928d751ce39c3903f735cfbbc50bba
|
|
d584ecaad2c92df106e08e9538473c2c06d0ae45d01061530e451cc6127cb943
|
|
"
|