525 lines
27 KiB
Bash
525 lines
27 KiB
Bash
# Template file for 'libreoffice-i18n'
|
|
pkgname=libreoffice-i18n
|
|
version=5.3.4
|
|
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="
|
|
d5fd4cb41de6f599c9e244e3a78be070d2bedf46806b318b75cbd40d0729ace3
|
|
9ddf0157eb799548f4fa295aa9ada8b1369d2a34995f72a82c9f14a30870c62d
|
|
ca9b0a951aca2ee31aca0190f3187ea73b6d213532d76f7097f2ea3bac72f091
|
|
63a0a5baa9d2e52a4b00866d5a8b72ca8617d7d1792ec46bbd6921adc4ad18a5
|
|
df9ecd8c52c186af605d5cf945f423895560cf96577e7079ee80ab622a4ef3e6
|
|
62776b74681d393ca4749b49870ad344134fb8c29754a85158a242e792299b58
|
|
c27b2fac84b081a710dee98303310a6bb6e4fe6a0a73fa6ecb879a8185476470
|
|
65fd85b23859d9ff49a2b697e07bfc3b829388364dc4f02aeaf3bcd648d64304
|
|
ccba92493cb8295a7f0bc8b231ff982d789fa6bd073e21fd555be5facb62325a
|
|
35cef5c7b2f16b0e99d76ea32bdaf9f2fc75bd943819fdef8a95d8b0eb45c314
|
|
b58cf6270fe1aa28965f5d06156f34c382ca7b371392699f652f7ebc926e8028
|
|
58f2e9ebf5809f67e7d27e1dcea3f36101a50b3ae3bee15f4d2fe28095f71f45
|
|
bf3189420dd0626ec7bbf5a18f96a4c140a5f154268de045a3b4b508f7ee2e80
|
|
70c59ead93485a9f752d144d6d3470ea439d5e524658cdbea78819cc56cd2b85
|
|
91bbe80362ffbabf3ed43b55745d969dc99643ecad3770f1ca5994223406bad9
|
|
e682b0a26ba99b87128e9025f8bdf9701f972ea7f5035fbec258ad2bb229f15c
|
|
ad5fde5df7cc992b2c801139e2dc7139a464680eb6700851d6a2f34e15a4f169
|
|
3e80208eddeb64a5869e549e3316e437515f7e73510444e02955069b31214fdc
|
|
60a793803ac22863d33f494d51ba1f1cf30233cab35c481a3ba40d1503870754
|
|
e628541cedc2f2d74aac4d841b3faf5a983cb4ed946fa96e5621660ab7b32481
|
|
21afdfc651f92da7710b588546547e9dac1d5fd8d60d9b8094fe4a48654007da
|
|
e2e7bb34dc4d66f540c1b4a900c04b0902de0a916fe26f8687fc7bd53e01d6c5
|
|
a62fe19fd3fec6c6eb24d42e341eaac80a14ce7b8409bfba958f0093856487cc
|
|
fd0b0d9a7263f44e3c540921d9e78c1021bacf8d2c03d18838e8df8be70f9cee
|
|
3380a58b7004f8b3ee00e713a4dc80e68ad5cc852df1a63f7e8c85a10a124032
|
|
f67f50a586dcd1eea54601ab4c559ae9affc6f9d95a26f65848540ce465b314b
|
|
9f6afee76710330ba466adef8206249c2407ba626dffa5528c7a8e21fa00ebea
|
|
bf168751d037056b7e18a78fe178d6ae8c48271f4a05ebfad9b1a27289611b10
|
|
3ba563ef58928f98a970f72e3ca1a9725653ed2536a1accda7f68cea5eb725e6
|
|
b5de4e58a75f6a2d04e0cd81f19281ea0166eec73a2fe6fe696ea8a8ef79fd8a
|
|
bd6d4f222c175396a7ab33be135dae9c3d3179e8e111ca8710029f32acdf1718
|
|
83bd486d44e6c38db88f21f875b4ed0ed0b8b4442eed92c3b322bfd4944c801b
|
|
a4cb86ab0abd165398736f91f86d87e93b415ea17e322ef12c92a7180ada2024
|
|
44afc55e1888cc6461fd50b5fea9be07c8dbc9da375cec76c9a6deaa0f5b991e
|
|
4677c2b6278744d873917f3aeed1803fafd07eaad4685b134e7e5452762af4e4
|
|
93359f34dbc73d9151000461c4251c244ab02827917db1156b5a046550718f55
|
|
db7e3de8da79be0fc3d9e58d9a37da9f0c082003dee9ccd6eb44b4174b5af26d
|
|
7f126370d693aa64b2fbd68108ff396a8af6d077726d28567e7b3ce7261b79af
|
|
817c72f3694d87dfd502d514507345da9e56f32354d0f1261361560378c9cc42
|
|
2f4d763c12d66e272710e7362f12539ec7842ff8d48dc6512b954e133dfec5a0
|
|
4908954ef8e29f11ef73b8be28f2ffb2cdf936997e909b8eda5705630c85519b
|
|
0600f665d3bf31b4df2071bc6cabe3897ffa0c48aa808f2b573d39b66a0a5a4f
|
|
f3778aeabe73c589b18a500e7c2fdcfeaafa57db7f2901d4775756f056a62079
|
|
3095e48b817634db9f51a249589621466a9d1dfcedba782ad1c1401825ef26fe
|
|
0ea7f0fd080642395388dedcff399b443ce3096366caf8bede83e9896a8d27b5
|
|
6cc08af2fab2bb0613416c46c96c0c7ce1bcbcb7ef7f5c040b46a52668b39f89
|
|
71934232a6f585598bcbe2c4848ec7ff6c428953fe3c9c8240b10933b7e3e9ce
|
|
91f1aa8f85f83df3d6771a6b4112e2803da9d83ece207d6c2d75036f2b9869c6
|
|
ce9d9bd915ffc43db2771bd608272e705190136489a50459931ccc6bfe9fae57
|
|
f66f043ec5b9d616cc39521cf99ce26998317db5bce619135530ab2a5331d7b5
|
|
6b2072ce14119892286b7653bf5ccb4807e5b6847458469bb6b277167f432277
|
|
5472b367063a1cea5b11c51cb5913ab76585f23fad0c03c6ab483d42e4983621
|
|
b10646ec7b3178d6af0a664dd2bdbea5cf3408a72706c4cf84bfefd4117171bb
|
|
4156ea875d051d7dfae63958c1c4584c4ea606d5b1dc72df013e054a30069f52
|
|
a8436d0cb3e66f3d760f3fac12a01fc46b6c1a013aa6a0bcdae20a7a6f08fab9
|
|
ed1fc80f25bcd75f48eeae81228515d7c0a60549bb59d64ec9a7d493df8ca26c
|
|
b06c367ab69fd2278765d36d77ac664b0809e5a8c39c9e6ae695d25a68759b39
|
|
0f75b73528288986b6ac34440625e17021b12a435fccf88316bfb5fee9ea1505
|
|
21e861c757a77ec9be157b597c79eb48e879012be48fb0ed6253a4ac8ee9351a
|
|
ab4cd684c73afc5bf26c3b8cace321558576e88b73c884ccb655f322adb1b02c
|
|
39d4b92aa53fea1445f0c720d95c24168f5929f99c56a44f069bd971eb748fa5
|
|
e50407e2120c2d5b694bbd4d1e01473c847b6c98c1475c66f8e4ff939d697b14
|
|
747041ad7a48123ef2caa980848aee903b3e9dd70a3d6b521a57278b3e29a1a8
|
|
a37327e77ab2496413d1810ca8b88e21eea0b89c74509c471e23b1e0deccf246
|
|
5515bb852170a5594dccc9e9447e67e4e1f7a350d61192bd619ae9218aeaadf7
|
|
bf819c2b673f5867fbb397bf92431ff158c0613fb7d79ddc15448c0e23aadda0
|
|
94afa79e3aab07d1d596b9bbf7073c567167d6188776cd923326dd303816c661
|
|
46f01e55da5854f90b8ebb39dbb306d4003c88f1971ff2cce87d8b6700bc3c88
|
|
e2f23d907b1d54201bac3139c55b12e71e7a247d6a4017c94aa056e4ed1b4d41
|
|
e7beb31c154fe7e2afaccf91cbf79bca5507a8c3af8fbc27bd74efc2bca8ba5b
|
|
5620e476777fc3323aaa822545c39e21a76f0d31301fa690e539950f31df053d
|
|
78a04005e54e3ff5dc43ef55d5fc565da617b996563b56a3e505699b520a1a76
|
|
ff95b956fe5d24f9d9ff0332e7fa72a00f6ee5ae9034cf9576d32db7fe9e2ec5
|
|
b81dcfe3fd2eee6fd233deaa306e149435758d18892a6c424ea48b81a64affc5
|
|
de1047281d509e0095045fcb0031c68da12cbe6ea1e24eaec4feb443ef45af1b
|
|
4453896f59d21bfc28759809fbc2ab19c5d6cb5a89ad187ffbce96a57e5c33a7
|
|
f10336b6f1e6b14ac85e7973b6b2ba64ec99ed8a3b5254ad942fdbce090ab50b
|
|
55571dfacb25627a13531ab0a767ae553a1b28c862641d4d958d7b961a3eaa2a
|
|
c1df3815d4f0d4c2466fe1e59c5c2b84b6f05db2ea6c34751854353494b96f46
|
|
8a12d8776978e2f75a088680ee44cd3bda2a420a7cd55807ae18669c429a7fd9
|
|
d4e918aed86a46f724ba51352ace577355a8ed978ea14ff81db8d481085d6883
|
|
4aaeb3c6b9e0a3f23afe45c74418643cad409ec31134bab1ee68339356e448a2
|
|
0d9eea2b472a7c87ef0256bc309c45307f53ad22cf5e91798ad1e7d364054ffa
|
|
22bd42788c8adc32a538b831f8eca282fcfde15f91c4a106e25215a253a421fc
|
|
9fc4ef493208aab02a4838bb470ada987c2d0253ab3d8c6419df6ebf4e3c77af
|
|
aaddf55ad4adc23190384ed2b75271799c6331427b974532f17a9fff2930acad
|
|
ef7c7bc1d4b1f4fb530893e94fba0d3bb834c1fd5fa88e438d401c4b8e5b402b
|
|
cc9c3a0207ac10afc648da859b10301ccf2c380a71210d0925b993a92dafe454
|
|
0d16ca559c84e9de438f70ae0f6a5d532a08c5afba2305ad12d443beb8299aa1
|
|
a5809952407b619fdd418dea644d730e1b3d3696e618e624d444375f59796157
|
|
3435d82e306bb8fc47e8eadba3466c4d5d3d663c005d9cb4288029fe055c95cc
|
|
0bcd9eab97d7a79ccdb25c727b464ee54c4ac5289d079c67f694f64ab49913e5
|
|
0f0e10f0ba9af71b18b7cddc310040866fe2b5cb88f74f82025fb4feca3a91ea
|
|
290af796afe914be534a18008421776ed9eac19f239e14b4b290e68ca19ba7b6
|
|
46dda1634ca7ca13dae7873fd62a7f70cbbab53e569e3c1aeac4dcd850a5c3e7
|
|
8d6cbe783d66031210c1b3e862633569eaee1f24032820c1007435926de4d466
|
|
b96d6f239183cc6b302d5f17041a1b00c10f53aa8eac388607444aca748f9186
|
|
de40e9d7a6109f06937d593ca71ca8ce103d07bd88ac7b061a054ab4cfd423ec
|
|
f0ad28e3ae41383ae83d81cae3f1dbd8dbafb3cefde80855e0f89f93a3a3eac6
|
|
fbe89c72bfa3360129c600a54d4ef5ea25d380055be2e43adbf4de4ed3288047
|
|
75341a065267f800ce5ee2bef8b58c7a9d3783060a04e6976b619afaf021eba4
|
|
fbc91c1c666419c63ce5cc351952c88586c797fb9877664c0df7d098e71d734d
|
|
bd50845adcbe98fb8dfe149d84a3d70edba34c9f1bf45fdd58fb31caf3e4d9c8
|
|
fdc3329beaaf8539e1459a1fb349c51a10e38332b3a5ca6e9862d98f7bfdd950
|
|
d8bcd6a271854979eb7e55a2a103e0695cdcfb15bd31f5a2cb925f0ad5902930
|
|
8391c5cc7d6ed7f36f997b5a5df929824bfaa5dd4064ca0e4052fbee2323a8ae
|
|
ad2888cbadb5fbed163b3f17a34cd71549f058989366584d629edf264b7e716f
|
|
c6f486c6fd24f2022359b0b0270cae547edee14338891e83f0069e5044df8093
|
|
72520692054fa77a97e8a7e61b19256db859699f853f8a2661c4c5baac9242c8
|
|
1e393380f5d11def18bb10fcd588b468c2fe7959b2423d8c68461605e2d2bb23
|
|
d503e32966633effb3c5bef5c66e9895ba9c617868f82fe1774490734a56d071
|
|
577c37e237346d98eec12509ea1bf2a8ed054443db7980b6953774efcebd3673
|
|
f9d361e0069411812274699adc507227ee931e75d72ff2c95722ad62442e30b9
|
|
c0d13a6d247e8394f11712fa0f994b3121519b14598a3166768db4060490fe7b
|
|
909ad34e4e14a8bf1e645fe192d58fed43f79d039f2d4acb5b04a475920b43d1
|
|
2b38563c6d72934aec734d13796ba13bb74d9ead3cef215e239cfde1e8e2d780
|
|
c80cb28d3357f9d2af69ef019290cd6f4eeb8aae92e59e871fc42239c3b2de37
|
|
42007e4756e2c1a60c198c8024298bc3e674f39157f221689f91a00bf17aa2b9
|
|
3766050103f346ca2c146051b4515c2d49b270ab945bf35dac9f6ba8769d4136
|
|
5cc19a91113f20bf4d92497392f3ffbf5291fdb136c9dcdbf1a33a112aad0be7
|
|
1f5b1b74b7eb50e29d469835de3c1e1bccbdc241cf62a6a7178436c4ddc93186
|
|
3cc0c9cc422bb4a0dcd9c286a464496db4b07b93ac97f9d292cd70286d99bc31
|
|
aa4c300e353df8b09ea57f8f9da825b498ddf77b7aa1cbe477afc91d614dbdb9
|
|
36f03b50152e9ade39e3573ca34c16914aeb4dd25811ee397a3acbf4bbfa6348
|
|
61908fa2af7c87d5bc75c9a516375ab45c452d4972d1395a2b44f6e8ca9d1ffb
|
|
e8ce04c37917a8d53c03103ef3ca49633cc0f34649c9e0c28a61c36c844ab2e3
|
|
76f854062a46b120b0376d1b65d85bef923c665975562fa3fd6f565bf81dc023
|
|
f88b221533cf408158f761b12a67971a666c0cd9e0d09a8a0b3a334cd17b794c
|
|
660a332e52c26ce3145d4a9a24a0f5a2ac3665b438e6a3a95997d008cb7f25bc
|
|
59cc7341e6e8594f603a656182605ac5d4bac851067558d298e7d6588cb0113c
|
|
f2fd43c1901b095603042c9fb3a03bcc8323e9025a52eb72814fbb77e2ed0193
|
|
a730c6c98bc882fb98b4f17b2ddc5e0b6bb752f977b6b6adfc9bcfd08e0537a2
|
|
a647d2aee44ddbdfb7354a2e6e57d88ddf26431e4a2fdeb016e7fa46ba067086
|
|
2f3e335279c9f81ba08c3aaa059d49d3be0cd011ce60caa20d03f184c3a04101
|
|
f218f958949bbf9ed56160aea0b11e819363f69aa3c88b412ae329a65d1c0fd1
|
|
ec0cb44255fb7d6440950c4ecc9e775e485163f7d34d342f6fa3e05588ed9bf1
|
|
844dad78281677615d5b7a04a727d6b254d9bffbc0af7b18d347947815f28902
|
|
c20f4d78825d9ad45af21f5e24332c2b6cfe5d6a98318d17a9401dbd7d5e5a53
|
|
4f6042b0d8620f1ad0a57aeba181d49e55ff232ee6095aaab390a519405bfe8d
|
|
856211e293cb0569a4c37be95b0ed77bc87ac356d6a6ef5364bf55993e70cf5f
|
|
c5ed42d56481ba52ef021e145d4f18f02970bd53db477691c0d3f225e47e57dc
|
|
4cb867a0c0cff5b14f6ffd333df69422e0483434665e6a94c627d11077965e79
|
|
7164efc7f21dd5bc492693fcbdbe5f1d5efd7a8452a96a42f77284a65bb1348b
|
|
2fe200efb7a3b39c175a26b38d8ce495671d27aeda333946d0ec8538c1db90d1
|
|
202f17a8ebc086cfac3c6985d3408470d63aa6dd97bd2eb9ac84c3531fae7093
|
|
d723c3aff4ea07c187ae1c0bbd299b59c61ae4ef1f29f9a3312ef6ffa36fc2c1
|
|
c732db3d8ce16eab77c1ed795e7c01422654fb2ad78908a4733c9145b7eee116
|
|
8766424b46b536113f83892bca0114008df99782ea93893abdbfabd280e5a523
|
|
df1d7f800c4669c629ec1632f1fd55f4728bcdf725f8ac437423daa53e2ed708
|
|
90febea2a504d1b391530c4075a8469a205f1ff4a5aadd8c7b9c914fe5c1e1fe
|
|
0104eaea5141f5532789735dacee184b0f7b5b4f4328021b18c8cd5d6b3652d7
|
|
af9dadca509abf5d138aeeb5d0dc4f01ffc856a23e79b697b4978e9a0ab9692b
|
|
7dfe0057d13a5ac633168f5ecb7aa06712c8abe858afb2c8c82ff258dd90ad83
|
|
a9b9f323c248cc370a2c280d6c3d6276f8488cf047427ef630d623c114f23ef3
|
|
2be5a173ea818887f92ab4095711f6957b13c5adf73628b68a7fefd65ce17b72
|
|
94ffcb602ae3d923e78ab2fd1d71e27f940e5b3ddb21d169e07b333eeccb273b
|
|
c60cf83fc0dcdc3aa016b8ff5fe334cddb7ff346b101648ea80554dbc494797f
|
|
b57237a244b909775a1a508e6c2f4f703ac19e9731ca7a2c7316948a9700df0b
|
|
6ba24aecd9c87f6b51971bd69a43051116083951701da6d62a944be4bfb352d6
|
|
d3b9720ba139dd8347d962e50b39e204ad803f0dfde2164be7206b8cff175c9e
|
|
b79e3a8ad23ff4eaaae71ce685526d46c1470f03d5df5b50ca9990c877728193
|
|
c4442a9b0f1a3f9c32cd745f4aac21510284b54eb9955eacbce726e8c342fceb
|
|
a8e29d2cbb4c2e71beac8026dbbb2ac2e4dfb64dc667de3bfbbf311b8599b555
|
|
1ec566faadce18797448bcfae82809420c5d9835ce9d749cfb4752d64d9fccba
|
|
70cd7bc07003a402112554921db4a601743ef642c814c987b14799783fcd62fc
|
|
2a716a90b8b5f02c894cf55e54fe5e092fe0f5a597bc031286550cf4da394fdd
|
|
ad50decbe48f858a93239e5fdee4f84f2ecc6cc9be46e604ba861dcf714cc604
|
|
6f765963918c340f768ded077ced137e4c14b8adbb1124d91070508bf0e1a98c
|
|
ec9c852cc73f4c222c5dff51a975c4e41a2fc6d90c3ae2d0b81f6c9d53eff845
|
|
"
|