526 lines
27 KiB
Bash
526 lines
27 KiB
Bash
# Template file for 'libreoffice-i18n'
|
|
pkgname=libreoffice-i18n
|
|
version=6.0.3
|
|
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}.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"
|
|
noarch=yes
|
|
pkg_install() {
|
|
vmkdir usr/lib/libreoffice
|
|
mv ${wrksrc}/p_${_lang}/out/* ${PKGDESTDIR}/usr/lib/libreoffice/
|
|
}
|
|
}
|
|
|
|
checksum="f61fe3b86bcc24f5717f961ae63537c0c873607441b2f934568e343c11e738b8
|
|
2356daa9e8c0a750070f58f8da6d65da48cf7ef43e965798ad0d50ff671c2e80
|
|
5b053f6ebf158acbdb9ec8aef427466af977572adc068094530728fb250838f6
|
|
c23bc3fc3d2efbf5c7127cdf40b1573b0946951cd13d31d3ce326eca8f581ba6
|
|
eae25076fcc7627195e38e8dff09a34813dc01ebf72a6141fd4da5be127c7b72
|
|
c0d6c4f70bc831eea29d3e1192d2bedc97f0eb9dfcb95ceb1e5a091af7280ad8
|
|
69450f6002c40925210e6503a6326322a0b136ca64edee3efcd8b008607001c5
|
|
d1793fc5619a58d36d204f61acd23623cab99110b134926c2683b4bff016a4da
|
|
1b577c94ca5feec63a686785513962582f68967b1daec42fe2da9cf3c01df0cd
|
|
5af89f992b4fa063829933232cf2652d6ad2de36f2258c3b524c4ce8c91ada33
|
|
816c9bdecf8d49fa30f7801d8e83160e0144a1dde9448c7ba124ad2805614aa7
|
|
7860cd7784f89dda1294a00367918d6fa1d7e3ccdd6ec358fc821060a5bd59a2
|
|
740c568d490c685aa14b2f34ac052e3de17d197175bc429cbef0565645d09485
|
|
3a6bc105c64b799c204d14a996191846c6ed9b98c5c250c99b1c977d4d743607
|
|
695fa132b9f64f7fa446614037e585b41020dfdaee52e1008030aefdf9cfb2a5
|
|
79e61ca6a32d8e5067aac445073c64c73ffc354fa27e8d64762db36e46f823cf
|
|
f79f3dedbb56f790a3def5feae185965da8644690e8a8f9aae93fc88ede82a42
|
|
b5efebbb047cc9961c94e01c914375453b6e831dda3efc6874dd5ce2ba3e1f35
|
|
c6f475bd8b407f5bd32aa50462d41f8555d939cf9dd3ae526fbcb580cb996b3f
|
|
67311f007e2feb3ffdb9f109185a69d0c00bc97e39cee860556bfdd5cd430c57
|
|
66c49a9dc395fb3d6c992effe658aee2d2fb81b797457ef641439c1cd1737ead
|
|
d404d84dab665b8296e9991a9a969998a396b590844e993b5daaadc44980a710
|
|
63d2a3d229161a1a0740915d8418118c28a80aa44d215afce9fb7bfc4d03d5d4
|
|
7a5c57944ebfaa0c18b4aaf3521b7a29c3a9e1791e268486bf2d1b265ab69935
|
|
a1e39192a8ac64861680228746e0bc9979a301a25c277e04ec776a58bc5c3d35
|
|
ebd9d13264a12d05b3fe718ec4ac1b1b459c55acbb2851bcf4a9f2a1b502dd82
|
|
cdde8b1ddd59bdc1376198ae666162e7d1a38df91d15cb12f33ec595d40ba159
|
|
8792dcbcab19302ce20638be6ae1552c96410dcd76f75f090327713e5e6cb9b5
|
|
58c664c632dfe581866b95cc4a6f564304ef91286ffd117040c4252821a60177
|
|
b51b31dd6d7b2a18d926f1c0f1bf884c8ff68e6b5d90da2551bf6207c976ac32
|
|
961591b7b8509a661d6c6e2b8a4fdd63cd6e3c0afa5cf44b609557fbaff3a9b9
|
|
649c1d4947463fdd99f027d7702f58a25ecd475e5a955392b8a67a70153f26f9
|
|
c5ebdc6c055a8cd10ba07b6f8d215699637f061f43851f4c05be381ad7a40500
|
|
19f6b3f36a63dc021f4a826a03efb19311194da974defdec4978f7bb74d906e1
|
|
8726b1f1a9e31774ebd46c5bcaca551ad086eaa8d7a08b60ec3113b09307587a
|
|
2a5e09e32dd60b2f14ba380f8a6de82148f5e8c55ab46c698802aab3ecc19672
|
|
6de9558f56c968afb7733464eb093c4e3f99c85f2af66295ef255dc9f4c73191
|
|
bab9917e92d569e5cbdaed24173de69b292c73df71b8a5838534a384f30985d9
|
|
5a2358b6b777161b8b72ff628b6172021de06e89977e03df3a9267790568ae74
|
|
f0b72f3d42deb37ce4ec7d208d98e0608243af772d6ce6418d8aebef62544c6e
|
|
4be09c4231dbf8571622b32ef14a0d23a9f4cff9eef008c57cf43c255995f9a3
|
|
dfe6bea35c22b15396bb80cbe361a75a4b46d27e4e87291aa8a29386f2a9e9cd
|
|
be996ff317cd8f25e3927f8e1d4af40c51e759b337fbe8761458a336877226b6
|
|
d5afe3b9f5519f9b34302175622029711319d3f2efe34e7bd8b79f2092bdb28f
|
|
b0a5701d2e9ac86de6db6c76bf32bb5c3735a55d74167c5572ad3a1b4e04307c
|
|
173b5e61d8e0af11117f921b52dc2484b93265559b097dab1f6bfe540c3ed8cc
|
|
94192e620bbd4c1525a7e41c9ebc0a609f47c0b689236ab2d708bb053d157525
|
|
78d297e7b69b32835c6a71c8e1daf48e3d0d408f8384051420922794a58abc7a
|
|
164657fe2e58ea1a0e6a7169b8f0f2e8027d31f4d453532fd526776ae31779e5
|
|
f838ca2c088e6d522b432357633c9694e599140a120a9aca6ed5d35df79b59f5
|
|
b7ed67a040966670f5382baf61b1411079649a824dd7bb97e77f757aef002cd5
|
|
90ab1ed4281d0780f2b805ee2e474d2335613a6e122ce3ced3cf23b0f3f98103
|
|
94aab901e9e3b7c146a82d492171481e8ada1f6db7c0e51d23bd9780dbcb81f1
|
|
5d296e8528268e357f37dbee7d36c1a3848c760e7135b4b36474a85f7f7b9be1
|
|
bfd3f93d7a476a68ed71ee7fa2b3982219aea7768961d8729a57bb974bcb3e62
|
|
f26b37569c3e78224432a5a8c5f021a1588c94ccf89fcbe2f279c932ccbef99d
|
|
cd872062cfb57ba920a1bd1a169ed7d12dacbb409a8cef8486d26bc1c6d132d4
|
|
529e0c00aa162e4ccec11cbc3bc3d6c448b1f2bf5e46c39717c4b8a8f4d4a64a
|
|
83feba73b7d6b7b15bccab41eb1d6004ff2709766274cea22636f9f667a2df57
|
|
65bef0761a2c81d9dcc2ece85107ed2144fa400df4dc7eb5eedd1db57b88f04b
|
|
62ef095ea5eb4c1ed65c1fea239a3d5747e73e8e13e72fb929e4a70236b3acef
|
|
7b24586b76c2b121df81e6360b467d6b31b76457772631796647aa9957ccfa8d
|
|
49af569286fd3bbc39d943fe99c93e37cdd01483c8f07176e877648b73802724
|
|
255184519c6a9cd551956a4b7343ecdadbadb9a189e0088b605ba064083ce0b0
|
|
c5d6c7dfae0fa895759825dc41c9613dffbbe5319a665c2ce044a39f536ffc3d
|
|
4f029e9d5e245bdbacc274a1760f8966fd8f76736a3aa224e2db3b4700e3c443
|
|
6a44203f6e8a77a0fd5c47bc362f97fa4496a14f42a7d98ee55124925d0d0df7
|
|
388fcd26bf83a81827d7698f3a149809dbe14647938461697316c5c8d63a1bb9
|
|
bcd91411579262bd6f555dd37d0dbea155bd0103e21f65e5f3510d3ecc4d644c
|
|
c74c38ddce65bf7aad11e1f2a0b27723b31e626bce947c0583b274098874e278
|
|
27a2ab01ac44bb4595e797904f97d24334ec485a1ea9010b2c81ca5be145f779
|
|
7dc54bb933c857d49ce6cc9609e12acf38bbdebac245e9a06daea326f1c55f38
|
|
09d57e687c46ccd0b9280740f5a031bc2080145071956623a2db2f9c7a9c38a9
|
|
11cad208d9cf801382819c83d7a6f988c08a68f19d59506bff174fc37212470e
|
|
f1c95d9e928e8da5e46c3d119e2b58d423fa6708c1107e1e3bc4cd06f3b04381
|
|
04d4531653643f229fff5abe05eadcf31702995c7ddba91cbb8112e0d74b8fe4
|
|
d4c5e0075eab4817df010a70365da0498e015b981005845c05b52d64ee62d1d4
|
|
80c56b5b6b7e0aba1f748428515bd4779dc905a6aca36ca90d13735e2d783d21
|
|
17a9b503e1832fb192c77fdad9afb5558f7788274b746cf41bdf444a18f0fe77
|
|
5dcc421742982ae110e053308362a48c4f83b73257f331299843877edcc7d37c
|
|
c09b188f84d118358ce7851e54af33e6c9143ed46fa0e51246fa523441711697
|
|
b90641afc4c66b1b4d5ce0616c0b13fe7a5d6477f15c76b3a91dadffccef44c3
|
|
38d73f0429beb1fd388c97ff5fe7125908d462e96ffb57cb4e63b8b3b69ffaf5
|
|
7f415efdd78fcd0bdd8de335c95debbc54c18f8e09fb179bacd03aa7fa2b20c8
|
|
2424080871952d9d727fb53df86cc6febba3799824bf932bb9431247af577bcc
|
|
68f833cc09e8b2e53f5a5b98f98b94b4c8017840fb52e243198876c6dc7ab314
|
|
8f14cb4e1740a6773a9356cd98b0c512a570c747311b3ffb45e5612890610f86
|
|
9b0a7e9a1915bd7d54c6f664899215eccfbfbf32d0c6162ec2b69a32998db45c
|
|
03405b5a824886466833359b4ad284a8328a5aebedde8f7b39dacac8b7a7110d
|
|
40cb60a6508e7dae6fd64a67969c7a90b98e2b2caeda063c1018b558e474a94e
|
|
afdee0a77937ae1ea77fc430d4399ab6045da50e53fe3d989bfc30946cc8306a
|
|
043e571d1bc99fa52fc828830b57e6e66033d891d0c60eca7622e14ad645a769
|
|
2d53d2585ece1aab8d662918b710db893572bdfdcd10e807f1d141e63711c96a
|
|
9263d81bdcc21e797f81d52c1cfba19ff922f295488eff2feeeb3e762de3101c
|
|
c5a6db65c572cd8d5d3178ca754d1ea345d79e040943f22029d5c7c0ff78edc4
|
|
640145a514a3fdb9e0b50e44849df3543d74db40f92c4ff68a62f6ef7276d057
|
|
a34da39b57e2e66cd263c0c8af418bc403d694ea7dd067ea7c977a975cff41c8
|
|
aed736e0ffe0a1129d1bdfd0d17ac67cdc83ba102f9f5b895382ffda09154000
|
|
f06899f4fb1cfefc965549a1b8760f622d7ab7ee30a0e87bdf472a40d08be035
|
|
57d2a16a3e3f62f18f95baefbc9dea37496b9010b4435f166a56cbf9323e8a74
|
|
5246cd621bebb221a965fe3b8d63d910bc1f6a40c2876231c3718b3e0006619f
|
|
3ce5c6b8057b3d94c145b26f45505de5a461f8b171c54f23c740be2172dc94d8
|
|
e0a869359d0bec125b3ac995ecf7ceeddec72ae7647842b3518ef9801d7da6e8
|
|
f9031805cd92d427336876d357a54837611785db6ae1de3662bb7ff33ef2133a
|
|
0a42c13b6e6032fdf80d2a68028fba6af13232ecd41da1f71688fbd73a2d674e
|
|
2ac1979ed2257f2b96a04c9e3873ec578e5bdce679b067f2b992cd6e68a2039b
|
|
42c4d4c1d2c3165c471ab4c7758f29827455572e7a4496d35f09735ceb73d9ee
|
|
b77f0e8250830090bd5e401a18eee67be5bec7fa014a5e92d236576395110ba3
|
|
d14f83897eacf8211ddf91d445f91eed6908dcd034571584f2b4384d6fc76bef
|
|
30cb0cb3707650f5f36596998b432525becdbe075478d951eb4a5da2cf4b2c13
|
|
7f424b247975f05989fade5c074999efbcda157945c88dba0f05c360932af8fb
|
|
0d008c3579c307e262d63671602d3d6cdc8c3055b791742038815234f3f2edc1
|
|
e496da3755eb635df6078105fa501f37ff49b94d085485b83d372afff2580bc6
|
|
1942173b5ecc442ee51de154fbc64ee13cc447cfdc591e8e277fc550c1dbe74d
|
|
75b7edd99718719c3706cd7297f4a49e943de4502c6bf3926d24f1f2a84d4bef
|
|
842fed6e3816a8f85a77b3c2467c81cdb897996ce927dde1804851718ada5f96
|
|
419057607882726ccbe7a3c1d2e4f51efcade2ef494ae82eb0d351e5e15037f4
|
|
fd38fb05b12c96ae9594afee9ee3ded04822edfc83ea677e8c09e41b25ceadd6
|
|
bbab8dd314af83d39786a044d8a79de4aff0f114f9cc6bee46df754ddfa7968c
|
|
1c23fefff780fb84f5fb42a0d546981a5e280a761e90916c0974e8afcd2c430b
|
|
cafa8693578bd86901f540d35bf016fdd57662989125b598a1b3331650f79e93
|
|
553dbb9b5c756b94a0e61420d336ce0c9cff8dbc1ad003a5e2486b0866c73e6b
|
|
74385cc5699b98827ef619025b29fe74fd771ccedd38712951e32bf302ce0f7a
|
|
c7723086f67fe8bfa352da9dbde8787465e5ec621851ef491594355cb91b56d5
|
|
24607edb215c2e02e2c9de14a7068fcc3dfd4757afafe8230ae1d5980a6f3495
|
|
ef02e68aaade5b504825ef470e503512051ce92aff6b74f58c5f3c49051339a3
|
|
b61260da1e436624a1c2d248b76e49f0e2d99b94058cdef72749732faecb81e1
|
|
1c42585fe3685b665900373d7f368a848c0bb3a60ab04a56854bbc9f370513de
|
|
28895098ffb018f6ff4e3ae7a51e344fe03fd17e987fe55a6fc94206f9173045
|
|
70f142a5da8efdf6dca0cd6f154591d7aacbcf99a910b76ed4d88744d093e9c1
|
|
df7fe87419cf3c6329ab973f0084c8d38aa10f3d265ed49f0f6c8b5c72daa445
|
|
d6fdbeb06be56750035204a637bf8a42e002e4bc04903fa039045c4553da1225
|
|
b567f734cc2194429e8e0f23395b31a6cb9a1c34ee3053971ceb1171093672e8
|
|
19c617a0a37cd4f09e7d009cebe34475bc49a319b1bd85c920acff74ae07ca4c
|
|
c20c0dab3ae6e2eee42c20e1ed87de3a76e3ae92d465225e859b2895eb5f0430
|
|
b119c5d86d01a5347de335d62869a6d1cd5d616b81e47b7f6d801c4eb123db38
|
|
a2ebc7c07fb12cfd1f1f10f5742ba52020cd2920ba41032e2364c272f31c5c1d
|
|
dc4e6c6a33fc1447d50d73337dbd17e8c792474509a1c0350b1091d8f524c397
|
|
c164e60e599e4bd99fc04c2b642f34cdf94001aebe319a9cf4610f0c9235f21d
|
|
edce0bcf0449c9617cc9ed4b2f516a3c215b362d8c5a6de3e865b568dba1e068
|
|
a4ef5fc63cb40d7bed007173fc2499915674fb709d4961ae2e11f0d43762d3e4
|
|
bc8e83d9887712cb72398e3e33c0afc874869e73787cb59e902431faecd84b59
|
|
2174686e732f8f89099a71020e13e4525ee9da19efcc7b7bb45508453bc64024
|
|
f246d9c89f8919ca214f696c8a71f89628d1d1574ebb9742e9fa62476fc52b36
|
|
cf535a2a2f5a811c50eb4017854ae7049189a43fe0b10170961e247bfb986d1a
|
|
7109b90453b5e9ba0278e49942376e4d700c1243f975e74485318042b5d70392
|
|
19b2f5f73f9f740195c1564cf2da16404d7195c117392ef2aaff4c8fcf5c9f3b
|
|
019a8a81b8f491e2dacb40c13d291bc83aa100363cc26ea14dc54eeab77a583a
|
|
fb9c09689a826327753045c77568c20105feb79c7df419458ad0a88427891c49
|
|
87d0eccb5843d986c0b66dd61967b51aadacbe88b5be3a1b742bb9f4cb65970c
|
|
8bd8b5f84ab6d9146030df2f85e4c1a29b4c4e7d2e74c360342d4f3231a2399d
|
|
d293c4b64c12a2133ca978f11db10a79ae094cb31f0d8261dc06dcc537245b8b
|
|
0f2dc544467534618b2d90e569f18ec811a70b711812bc71b93b7130f074dfa7
|
|
a39ab43369caab8cab6fe14792014be99b6de27e7101ca2e12f04697d4e60bb9
|
|
a894f99e277e273f7e08b6517ca1f8604d7abb1bdba0b8d0eafb245036709a94
|
|
cf6393451e41a238c1a9baf537f0ff74cc05a38dd975cabf2f12fefd426ec571
|
|
764a5182ebb54e4d35b61f3719faf10957abf959dcf0d1a8e9b0e48abe6e678c
|
|
34eec381f12798766ab779b2be12a0a3402c97ba002b86e06f333106d5b1d241
|
|
905d181235aaeb171785241d31ec66f1f92cb85d72bac18e22aa9d967bc0b5f4
|
|
58890711c4ec854ff0fa02c5953df5ed77aa929c42deb97d6d6ecaddc41e5f52
|
|
e1fea233d436ee79472fa0ce6a57de53f18375cb48ddc1aed4df267ba15fe6dd
|
|
50990d2faef8669aae5b7ab1b55843cb9562c789a9885ee084711ac0b9ffcdff
|
|
35ce54b21f8c3d3cf5299f3799358eb34ca270374513a4c014d1863d242fedd0
|
|
8960c4bfa415789b61477287852f654997831c502d6ff9ac5138685eec193ef6
|
|
4cc9f72dcf879448be3c253e9c736aa918c40ba052d67884a3cec5661c448fbe
|
|
74f89a9ce7bfa01ce8e72861e356e98518d1cb706b8545a194c41cca971c80bb
|
|
8d2f02a0aed7996852008527dbf82fe618b46552ff943860237e7e1c18a14354
|
|
bbd882c70b5f8ee9eb3a10b905eca68047daffcabd1c7705a5299996b16cc7fd
|
|
713deaa42b8d37ad7ef5afee22741f2710762c52f5ef9b96d53bdc1432273c7f"
|
|
|