526 lines
27 KiB
Bash
526 lines
27 KiB
Bash
# Template file for 'libreoffice-i18n'
|
|
pkgname=libreoffice-i18n
|
|
version=6.0.2
|
|
revision=1
|
|
build_style=meta
|
|
nocross=yes
|
|
noarch=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}.1"
|
|
_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"
|
|
noarch=yes
|
|
pkg_install() {
|
|
vmkdir usr/lib/libreoffice
|
|
mv ${wrksrc}/p_${_lang}/out/* ${PKGDESTDIR}/usr/lib/libreoffice/
|
|
}
|
|
}
|
|
|
|
checksum="
|
|
ecafe1fbb236acbbf92a3d59e98f364b00b04ff5ba0a06ea8551eaf5c42eb594
|
|
698c2da3fc13b8c36a8367cb73526dd01ea54279ae997f8c4b45a61cbad58e54
|
|
0b9de0173757a451388bdff6b6f5259aa5d8fbc278ca3c956832fbc35115f70a
|
|
2c73f7848dc77e8905036276ce77f5381d8be34eaeee25a8e2800052d0902c3c
|
|
a827b33a7aef71f2f35004a4ba0f8cd85afbbac4a8751f772cdc2e047fe5d526
|
|
e78088b40cee67d1b4796167456655a12a6f017aee532dddfb9a67f67c39b042
|
|
64bf236c6bb91e8a13f86824dca995208b04fc71bd4a2ae6efc123c5c8fb9561
|
|
d6823a0134fe169410ff7f8259f0432cbecb9791023bea9d7c8d241ecb80458b
|
|
90733cedce7194ebbceb676c0b472c6e739e490acda196ab691a58fe96b911a8
|
|
dbdf9a457c43213e5709b71ab8bbc7b2a51406e4b219cd41c2bba7384f5272fa
|
|
32dcf66ae99a6fd514c7d8297ebd44d1161db4bab57799a3decf95abbf691782
|
|
44f5c25a63a61c9f402a3fa9be621724da709b3342cca422091202f043654bae
|
|
25b04a8d4a557f1363043674c3c7dfda8e025392579d8180eecafa122bb008bf
|
|
dd72e52d8ffa788efa2fe26c96873cda2098c2675d72c8c2c11567d391020d57
|
|
3d61a70d2a18792e79e12a16c6161a04b57e9611039c2726d2ebb862adfe7add
|
|
6438b8b69cf35a4d7e9def6cc101f5b5e8bb0a6f24aba995929555a5d293e2ea
|
|
4a7c6ed92aa2d96f8c66593e3cb3e0a5a65b80b824f018757f173ed22764e7f0
|
|
bbe213b654ab86057a6234e06153f89eb79f650b643d0ba699021c9bd108550c
|
|
774a6f39ad1d0c4cbbd607cb89de7a2cb389c9b243ce20fb50e6800370d6d48c
|
|
f894c7b790890a840e85ec9841c76f7813a49992c62604e6d514115f11b898b5
|
|
7a50870d38ad69b96f9c25ef0cfc6b9c694a12938a0f9e3af8442b676cd1e8a7
|
|
817ca39a4954d954abc9419754ef93cfa2fe19821c415bbbbf110bb3400f6c11
|
|
9af5ca6a944303e7c8b6aea4f048787b404b3611944076d756897386f47aa479
|
|
510bb2043af4152877a114ee4ee5d4f584fb9aa6e65d9cb4d87376a7770808c6
|
|
eaed904b9ecd5176d9e125d276cd101dbf8436a10fe5d0a9451713cbd39932b5
|
|
80af1f06f0ba0565638b523b9bdb61f90b3ab4502e0a88f4dea8487a1e56c7e4
|
|
46e70a38a1f14295300a5cc155c3bb4e577d26560f1ff4e8553c295f0119058e
|
|
2f216cb149c6ad4af66558d873a73664db5766fc2c58a40ddf434b3c14a8ccb1
|
|
fdffaf77c141ad999593c081012d31c1a6186b871c685e2d0933e72040e43aa9
|
|
e43dec835707b7fbbab0e9c85edd3a4f750638e3285798ea9fd231c9937252cf
|
|
3b8ca0df38c8c493627a3f5642e3b3181904c19b97ef9c0faafdc867e268c192
|
|
1cd116fb04660503d4f88fc3cf4c345722e36255abec62a908007f4f9d00e535
|
|
31a006111e2116651c17e25a5d8c4e2442e4194c0b3976a1e45a2faf5b597b17
|
|
1c8ec2e64011cf0c81a042cac5cdd34fa218fdc017ac40474ab021c64db55a7d
|
|
b9d1b0221e2bf5d01f6b2c7bf27c3bca2d62f10ae9e3ffd650ff004f77bb7a2a
|
|
2d40b94a5bad042cb7119673d9d47115b27b7f0de07a03d995ff688bb897a10a
|
|
1f0cb891c9b138c01053d7e45c25c5f1fa8c13d691fba922b37f563e23d0bd9f
|
|
5e95895680baf772533849ea6d873a5fde71634ebf6fd9a11a64db0227818e3a
|
|
a1790972264b407cdbcf0f7fa64c551e594cde820063e671a5c10a422944b082
|
|
5e19b84c000624adea660f23b87e41b30a3235d0d8504165c1ec172d908af692
|
|
21836661bfc39b212daa383997f18a5d2458a71a205be89f885e4c466b003656
|
|
5b2762e02c6eee04a0d06b57979f05fa9d037f76a7e223633f4d59d4c9f1f0be
|
|
326d7e3e462c947ad455944d96ca0009a9155de06b1a983a5474ec1cb4d15e94
|
|
b5fb6a35309dfd6739b64c64afcdfdfc1dec5108546e7e95492dad7b952e4b13
|
|
b509edca5c308c728949f3de185fcb76e66ec03d40730c9922b490429f4e739f
|
|
fd62c0638604de3662acb491f62eec338cc8894da554ade1b31ea50a81c94d40
|
|
071cb021a16314fddc461812a4898480914b6e66db472b05d93c8379dcf4afd0
|
|
9f5797a076890e4f119fe1834d9fe3da3103140a35198e406f570927f1ea52ca
|
|
477ce8ef6b1e1d52721363b364eae0263746863db4bee8a9424b965b49bb7bc7
|
|
31b438e76a121f71a77fed487eadb30aabf884030492c01b53b9c19c3529326a
|
|
863545553497caab41aa72379595a66a1a04bf4b69549a8064426719006d7b40
|
|
4a00c32262e87d63f65ece857cfeab3919b59a1a43eb5ae34a1f1b103c71e009
|
|
dd2a8d3cc7832b1ff1e339447359f5f5b1ff182a88fd5e19eae6cc32357197f2
|
|
1a2d010dafc541166084662129eb1eece41a8a732afa11b376b41c89e00527bb
|
|
149beb958b1b7da1750a82d22b9fbe5b9c3fa6766aaa8b9a3183911160c5812d
|
|
8e3b14ed81b5cda58d77f2a331830418b8bb9f14a76f8486b17be307816ad561
|
|
be55fb0d0a7c8c695e43be9d38f8acbd3b6fdd89a1850d68e1eaa9c716cd8ca0
|
|
eab2d177a3fac4eda2b46955e0e5193f0023bcc482ac8926250729479c650956
|
|
241303377bb2109a47782182565fba8bfb7d5efb6c9743a9514b8c6529c5df78
|
|
dbd0facf23096cb891657c60496f0123b24c7c28074aa67f1919162d20c53cd6
|
|
6505da8016b8e23fbea3c6d0d3110a125882905734c63ffe157cd58980159d34
|
|
a72bfafc7d3c79c918e962d2b9913ca10f7629dfd628fb17a76fd1f79e21df57
|
|
7847eb98b665330381eb2c6e10dd445a2e967520bed9b99c5fa835a852ae029a
|
|
69d4f9e5cb90c672815536a5da7751fed0ed402f914de40e0792f4ce207a853d
|
|
a1eafee695d986e059b33b529c31b0cc0e96ffe46e8e580725ffe114849851d7
|
|
bb58f927ab8d55f6328d50f7055853a78a8363c4b9ecb1a73e020b26792e6e52
|
|
4011c1301abdd26d8dcdaec4c3b8a833afc7038775cea9ac15bf1ac101cf081c
|
|
dc397f865fe60fc51aae3ddeeeebde0ba0ffeb800529fe20a465b7e7db759f6a
|
|
88070140a05c179a1e754667ab031fda05b5f59ba567f015563c28fe73a3fbcb
|
|
4b2878c5822033baf9a0a0540f61a24231c96822c6c3c7ba2bc05e1e5cb3e2c0
|
|
85d84dc61ff4656f0f9472be37cb9c912fe69075452c4b76844de83c51657e52
|
|
1b323e63587e90d24bd1a2c39edc092bb831e0a2a9a52301d02cbcdade748922
|
|
1a57ab89288bb41b1b43af7324037054ea83bb83fee997d1d123dcea28e8fb45
|
|
125ac4c0a8886b20c336deb90f33b6e62022dce90793791d785d305a0697053b
|
|
ba0a5d9e439a0c983dd61fc97ff9525c7c234684fb674e5d9c656c24086a93bd
|
|
4ed1b871c3140fc00bdba57259f9cdd0b207dcbc564ea4bcb285a36daad39642
|
|
28e08859c9db6ec05538141c8a848be23e4d9754fa621a110bda7bd0541c53b0
|
|
96853b6f11375d6e06b56d7ea1169fa11eef6de7fc6716dae09973a6af9c2d56
|
|
131f815d522e454298566ae387e00b53506c9bb5367b68d92ab6d25f3ab74217
|
|
1276576aff841b2fe32952808b143c7895027284766928b04caf8841b783b71e
|
|
68a3c58000fbeebecb8d7fcbfa8876c4913f6450cd9920662160c0cb1773d665
|
|
a8db2bf9ecc3fb4b0d06fd8242c712a52a215ac9dac41751eda87b3466fc296e
|
|
123dd2900828f5efe40aab846b52c807b518d83dc6fd58b411d3b40047de0d87
|
|
39247eaa8ee939160cd8d1c73d6e2f85aeff09e156af2cab0823546c900328cf
|
|
f908c2385aa7b0d0aa0290a0055b0c52e4bab4d69a6822186aa72cdb1a33dbe7
|
|
0aeeb8dde25532d750c84f3d1e4a11dac01e7cf5fa0bc5302018a9e06a6bc322
|
|
d783aa73579f0b21c7ce6b9b1683c0b9d3807251b5ecde51d66fdcadb14cc3a1
|
|
b43bcfba1cb4a66c20d86c387dbc325833e6a1312a45ed54757b70db3f77ef3c
|
|
5b0bd6ddaf4326144c923034e62dacd8f9d173cde083cead143827ac0f423fa5
|
|
7a63752392de0f2d8fb4c1257725a4fb5a1d1ddb5207c5392f2b5300eccd8bc4
|
|
c25162981f941d2479995678ee98b566b7ccd51594918c2273ca16da3b2f9518
|
|
fb032a6e30d6a552f85f5ec8d5b12419192ec0bf42891704d939b44210c96437
|
|
5be0db522ff40acaaef42256958f65c9d956dc6a3cb4265f592613bd43506e4c
|
|
3551222b6d5c163250cf5dbe98d58dfee9eed96185ca1b7b906ee208a6eab231
|
|
2ac7b3dac6ba99ef1c6da230bbc18357add0fc3f9312e376a7425dba996a4761
|
|
70b6a18ac00bcd5c95765f8ddd76ad0e3fe59eec06aec6f1b699a9bb815e11da
|
|
00da1c0864455fb59a278d42f4db7f7338236f4b97e22e085a1c9fd259507d05
|
|
9aaf3fc871f2892c7f0ebbc0b1ac1ddfd710a9152d0dd781eee893d6edc8b722
|
|
b0d87dc22f17f53fd28f8c488abe2d3f9e00053559bc5f5ef31cfc73f980e7b2
|
|
a3af902a968fadd24294f2c5d1343ac31782a8f6a50f51986a64d6e93a533336
|
|
6c766df19a6ff0bca5baa74499c9e62f35af256ad766cfcbedb5cbe1f882e7d6
|
|
7ccf2e9ab4832ddeab16db16f0418e066b541bb82ccfa3e45fe292588a70ce7d
|
|
ef2737e1f7fcf1bd02e086f208ea51426cbcadf23b4dad629ddbc516d3840a75
|
|
40eaf89d48c44a565073be3188bc88516c0c3103bc8be8006b7730133111bd67
|
|
7e22933aad4447fa45ff0fa5c20495cecfaf90bc0638c56072ba638405ae9b03
|
|
6c8edc3409633382e6f4c16543b3ae0c154e5d7bcac6de0a4fbb2b6e30b41ce3
|
|
0261f40d4b1611984b872cc9175b339a8f6eb060cbf9eda138282a4f93c4a1e2
|
|
131e4b9c2a6e527244a5578d59be81414cf0d6d8a48107d87f99c68351203971
|
|
2eed3fbb68ba5350716706962b31ea9dbe7ccf77af434722f0ad317cce967769
|
|
71987d4a5c4cb5f544f2563e115c6920e3ac27f686eaac7d41930f4af29d85a8
|
|
a7b9c44a6fac7c2e341c8bb0550c6b7e6b7027bea371324b5c5d852f37271d2a
|
|
03e70972fdf9bdc1cbfdb0cdf236e49174ffd4a4ad7729fad7ee7c31cb75c510
|
|
6d4933acf82e06e55e5ced3b95316efbbccc1717366365fc81a24f538a77cb5b
|
|
99fba317b94b3641ebca4ed5ea18781bf627ae06aac0a818cdcbec0a6de33cd3
|
|
d007c882493f2af1da3b4efb0ec4859f8dfead9ebaa8c80daf46f0a79b91d4bb
|
|
a3da576750fc3a41d3f2baa60d94868b12d01848bcc27f3df84a6eb3d7fa2405
|
|
48270c73c372d4d66277b05d020542eefeeb5faee0d30f8c607ba16ac62386c7
|
|
795a9a14284a9938a2a9ba72080f229eb66a54aec7ea72bbe8cc0556f4f890bc
|
|
3c81ad96972a146569b760e16b697e9bf91e2e171bb54fa907073f5b254e1d48
|
|
2da93ff5b3f6e38d9e0dfdf545fc548a91fe3524ca354fd7540b8776e7f04a50
|
|
5e0dc35efe4856eeced6144bacb87d95b9f520bcfaae7f14181e30a7c852766d
|
|
77ca62de960f3981cc996d67897cf20a3fddea6bfc9ce3bf782b9bab5d0f534e
|
|
46cbe781267dc74d37e9b7004f4265741d6a6007e6e82663ed2eb3b6d56fad90
|
|
92503f8325e5542540cffe559753dca6761bd0300720893f9490b1ba71a17b4e
|
|
e08211987b22868431072650618ecb6c3b6700257020b3410872aecab9787763
|
|
88b8a83741f5930249d6da0067747a75e16985527dd79552bd342ee90704335a
|
|
1bb232850ca4849a85f46603380dcdbcedfbbe4dff1ff822613ae29faa1f7ba4
|
|
8cad23169349dc98d7a04ee223e39a1dbbbd7dbe13f410968a299076644e19ca
|
|
277c746c136f03935933b1e857d7e8f81815495a0393a1b3b03b775699bd4c5b
|
|
a3a07229cacebb91f57e879ea88d494cdf17583cf27b81c9549747976c751ae7
|
|
3f34c6cdb9253a6d86b05dfc06bd16b2d1e08096e2c99a9cdad5219320ec417e
|
|
0ddd9f2bf5620d9ef4f11cc914b4ab3ba18b94cf5acd8fce5754881f5c770292
|
|
574efe0bbc3384ca787dcded6ab7723198cdc4e91ddd616f77d20d24f4831027
|
|
2d3535a56264ac290d5f0156aa07e6c79472aed54276a586ed3bcff660ef2ac6
|
|
70e6208038b18634dcbed7c6bf6866f2497ac794f0eda11605203d649fb72ad8
|
|
4cee55f00581059ca42a51a23ba33c3f2104e690f79403f009e0f4470768aa26
|
|
e9f564f8ea31a5dc624cccbf0aa05a04248c8b218b684185193a50f7de777947
|
|
717bc68dba775357b8c5da54b2921fd37efddbc92bd8744508617e9235d27b12
|
|
ca5fb64d8530d193050e984206bc72efea54d4292eea860dd1dcce9f5fa3219f
|
|
f48ee533f20394a7f242335152cfa648ba35bb20c51203e57318d3e4d17d9c95
|
|
545498866ad49e197b47419dbcbec94c16721177ef540922baacab9f6dad999b
|
|
dd2ca5772a23c336f0bc27616f81304a9de13aad07e55cf9143d0c0d2488d81d
|
|
9504a18c9822b21a75ead1297f67bae718b76d50104ec6c2a07fbea98ae38001
|
|
9c5f221bede87863af95b439f2a988ef90b121a4a53a84f33c7af588d8c62201
|
|
92588d1a08769482dc98c3320e583e8e61ebbaffecc45602c38f7fdd91dd9b34
|
|
011476e6196486452eeb82647bd3cc746d47e2467fa39ac9a4b64e1cf7d19c39
|
|
ec141f32bbf4a43ab91db61a2b1ac41604fa5ccb9e590fd8bc218a5d8cc8f2d1
|
|
2b7adcf2f6e8097fdfc559263094c62003c0fed53e386b406d73766788169e3f
|
|
2850246d69e032a6c495b534da03ced04187bb8d35d5a72ff64d623bb7bc0d1c
|
|
caf33bed4f8e5bce673929a1fc23ae7a9231400b252792e73ae8d640eec0054e
|
|
2844dd6c9d5748fdce1f1c9945ed5ffe5b0f8008cd2b89c00fa1c240531ce6ca
|
|
73dda5cb9ee1ed24c90a22dd42894dfe21d3deb35931d202963bd9d881a9e871
|
|
110d951809c556929341afbb86c69deb7a316d7ad472ba6d38b243622b2d51bc
|
|
7bcdd030ae11b636d3bad3b263559cf1e9f741f7e3670bf1abb6486b32a6c266
|
|
3874beff8f15634522f9b53325ccb367923ab8ac67f4e798edd82bc760f2c926
|
|
3c9fc8785ec44b12c267e7a54931056189bdab133c9209ee57fe6414fd790918
|
|
02315095af3251f65b68d5523dab05f2d540fb181e5473cbd544043b1f538415
|
|
d5151d8cf577d2cc7ee839131e447105fe644861f4d69380acb17b483e6261e4
|
|
395dfa4193de9376139be2676a9dab9ba73e3fde090f972c6881d7d373d15b54
|
|
efa9ae7886ac115b5ec019586bf5c0e9bb9b54e840e5795db5cfdad1fe3fb225
|
|
05726160a2cd6f020bfa8dacdbd134361343ff00f28910792e4f2563ce2a9e5b
|
|
567dade804a6c8f3edb1f5159bfc77dee62e76a1b0be5ddc39ac0067554e20e4
|
|
be88db54db5d48d6e915ee91b720921d6e971ae4319ff8b92fd3bbdfb301bca9
|
|
aefa861fac56039cf4c5cb49547a75838aee54031c85eb5215073d9e689130a9
|
|
f118117a525b6cb9f84182d9d5f88a8f1aa613120b17d295c92e276f5bdb0830
|
|
555940148fbf195cd3647e87e24798840ec26838454df9ec862f3e9ab1ab241a
|
|
6ff9cec145c4989fa27472634de54d565e252072c7d7642804a3e1d2d31b0177
|
|
62f67f66ef2c7e255f29c1f2a25063c35173ad1f71d99f9576fc124ad8ca5ebb
|
|
9db159739547fcbfe5cb0dd1ab7bd8bbac788131ba38b86f79c04f79ba615be1"
|