526 lines
27 KiB
Bash
526 lines
27 KiB
Bash
# Template file for 'libreoffice-i18n'
|
|
pkgname=libreoffice-i18n
|
|
version=6.0.1
|
|
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="
|
|
38da4d3e7cac69f655a6aa79bf3827b1c4ca3b719fbab27b40c7c9e4a9c281e8
|
|
5710db8c860ce41900177d77ce7337d151431d6de22b0284e062e00d1f1a69e8
|
|
decd99c35634e3fffaa1988bab36291b78c220a1be182a421bc3bbcd05de791b
|
|
809be606a345bd39625a68da6bf00298e4277c2972373fa44bcf83fe31c4b203
|
|
a3e7c4bb818f7dcfa6ddb1243b140b9cdbd7e9f404e12b8e097048b1ea27e4c7
|
|
b238779198e69bb824da831c73f4c557871e17acf545ad058b792023ec7122f1
|
|
d130ef0ab8d83303edd362928681c6e8198d84c80af273740f4a341ead318c8f
|
|
790ba11c4360641aafbd624f09563359e8cc8b4d8541f7a29fbdd3592a209cfd
|
|
ec8ce3810bddc8ee9dc420287b62c190d57b9691c9b0859f2c4ddae6149bec24
|
|
9ffeffb3c40443248d884051b52e7f7f20789e7e100310f7a7422132d94d3428
|
|
3aeb90d130c2fae436668296f1afe360a0d20fcabaf8c1fd6399f3ff88b6b982
|
|
077fb979280c7d6ba79be441fa95119e4d0f1c1ee3e903f5e2069fc5fb15d2cd
|
|
e8af2c791687cd79d6e18fe1291e24510a2af61a5cca1ea1e868ee4da22dd4fb
|
|
3ee5ccf55b656a0812493c6d5b622882332a581953f07332637911a98502c21a
|
|
9d50a392edbe3753e48b3e7a9a2bee370834e1320317b5e513af44efbeb85f03
|
|
9367ed9cfa07b342f1051312ee513a89378280de28eebf3e95bd111419bd589e
|
|
7accbd86b0d899b62adb0fb175742152b5ba264a206e4be4924276b11d9e4e1e
|
|
d27d5d7679d3a1f182d3a8fbfb96255d0f034a92da0f195c509ee069f70dd74e
|
|
ee4d86d65939bd06eabba47c33a37de6bb5d84b0d59babe7fe1c28298bd9190e
|
|
78b1a12e565b1f64eec6d6b43363c6c49577c6e6c3cb75815bb7f2b7f88be11a
|
|
2d99c360a454b6825ba2f5d6cf13df6d6c49b8aedfabb76d9f14128d7edf8d41
|
|
9d6dcb6931f01b959247fa6921996ecbbd9dcad48840756a3c65921dabd297ec
|
|
69444c9eb47e1974a44b0b99e2f4b29d5cdc20aaa95caf1272238b71224e71f4
|
|
11558d602416e4e831a072c10cda3ca95c16f87d0bcba914d2c0c163cb79ba43
|
|
13a4527900abc71d2f62188622af5f7eb49b946f24572dbe94880dcfc26c45c0
|
|
203817befe0c05e21a58789adb301f0817d914d55d685f8ff6ff40a37aefe574
|
|
de3504069cd98e1cd57d0028df077d91ddc33b14895216ff7709399da7a5b2fa
|
|
210777da1defa3de7b8c47e3eb934614a73ae92cf7c8de9aec60a7dd0720d34e
|
|
ee0c87ca7fd3caf07215e28f5db8d07c40f1748826cdeb13442941770dd3c9a7
|
|
619d2fcbc26953e980f820fbeb9f4b24f9906768edfe21300d3d7f01d11baa93
|
|
db03ad855e3bca611cf8fc2e6b49f432cae841f4133cccd0482bea23f893a89a
|
|
ddd087491a2c529397cc66ad39f9aa6772ff456d071449e4bce0ec99032793f1
|
|
ea413c7f62a489ff27cd8a774de5b3e313190126ca8eeefda693837e9e387bbd
|
|
6a6fb272245cb0a0934fd7d5ca1c4f746f96575533ebb2156de4db56903c09f9
|
|
6594936540975ef11405ea4c94ab5456a21a3858c349178039faedc30a12c46c
|
|
434f93003e35077168047d2ac3742b64cc51bee05d486932f90347b592b645a7
|
|
31c69b11a0916fd680d285b4cf4e983f59f9108f599d9f0416de91955ea10e2e
|
|
e3774fbcf01d8a9ca05ef029b2fb4cfebb476612f7e40cc6720221114f4c8e84
|
|
ce0fc2d545fae36a16b29079d3f693a89c6ca594c80824c4f3626e1c5d09c970
|
|
1844e0f0727be3529f5a88e3d1c961fb186112849a26829d668221c7a6b3fd09
|
|
23e72d81f4849676ba5d27ef8c029f3c3b5bbb451e5cdda7e279ed94ff30369f
|
|
2279eea5f759ce9590addcf3d9b749e362494e3b947411eb909626bb49718861
|
|
8b31d9e805546811264889c4270193094aa11094c97c2a4741b5253db2ad2e88
|
|
aa1ce6ec69da13905f40bd812baf113ffc1e7674d2cff8daf86ff2a5856b59e6
|
|
0e8754d32d764cf1844968695c2533546313191889b0dd2a778142d04b3c8e25
|
|
3b1df631b44023f03f1d80c862969566e82f567e3aa1e4f6d72f3e8e33c356f3
|
|
621364837180c51cb5c04ef4a1770f0faa53ca274321b6daff99e24e60fad47d
|
|
a3edb205d3b6edf7725cca0052442d792a7d5134261a4ce4f1b54d35a5d7e950
|
|
1c0e3400ff5f1c4f0d384c08bf0482eed3f0f2019153e664aba5647078bddd87
|
|
af802e7b1c91a81de367860701c15e59d4596c397d6474e6db0b639bd924d375
|
|
5b6a9b6defa355f7b14c81f3030bd35847e56d37429317ce7f8f9246e1a61500
|
|
9a3ec949ef680180822badd61cfff1e63f00e50f3e186a19a122401268eda041
|
|
94b864b47b1e3ac5dbaa25e2e304074fcd0b357f28f654ef856371139fc33622
|
|
8c5e9c2b6e37833561348a72a77408be804d33305030e5ac0d5757c666cdfa71
|
|
edebdedf2055761dd2e9c93f3bb885873fbb919a6ae3f184b8a90df1ca4f54b1
|
|
2c791b6c8506183d2c6c9781d65c30a04d805e87fbe4c4fe37168434b621d3c0
|
|
01459f0c48f1f6517511241ad8d49187ca664bd217d0f4eb5c44140cad06fd81
|
|
55534cacc2286ee2e691bb327ee90018758f65bddffcc430974187c2d8e73286
|
|
15b2815919affb09ae93a91fae6c23cb02a3b9c9e41c667f8ffa00aefdecfd7f
|
|
a1a804d7f2471f6211b57bc9f4c5144186ea2c7dbccb6ab698a838c8b564299c
|
|
b9c80d9b9230d9b839b216b808e52c906454a6dac7195f96a860aaad9cb20a76
|
|
3575f44fa3776c0ee433e3d7a08b893bcad04f06efb176d9f8f290d091e951bd
|
|
eb391fd8ed281b708fa11e178b2981f595a3afdb44f65a64e78d1965f5722a42
|
|
809e8254d12b37528f2916c7da5ad532d9ff75765af20d2f4ce503973f304821
|
|
b47814866b502c9c6d83d554983b52024ebaa766221cc00063e04bed23c07d1d
|
|
6621390571852a2d2a064336b92d183bb0c74f024934fffe5474325994217dab
|
|
6a096a48a98e2dd0487f6dca0be95679fa8ef58d0f74ff1f827c40bc066b212e
|
|
47b4f0fd8ae006ddb93df1714ba64925511443f61e97a085869bd78eb2c7e51f
|
|
db3f5c18db82fccfce7c8891d1fb2dfd56d703c1138acb4dc4f8e17a2c2a4c7d
|
|
fa26adf9164106509affc9205b7f9a71b6159d2ab5a61e3f26a32f3fd0fb1ad6
|
|
dfde227b80f4fe8b9dbd94a0f179f3ac0810153349e4de27ce10038ec43c92c8
|
|
43ce482886296d6e2c9a4f917563f682454de42e661caad250e92bfd004c4bab
|
|
aae082a1e757e686c5b8bb105a34ad30c6f914cdbc1463bfbee0916938b5e2c2
|
|
d96fa391066df240f814c7a1b2c4504bd9c0230a1c8b5ac429eb40c2a418945b
|
|
c164370c34d914eb59ddaaaf8e719dc68846dbe3dac8a996d0a48855b347ccb6
|
|
80fa2604a6655dbb07724a8534f4e1dd30dd2ed9ed16c72c22926c139e2e42c0
|
|
15d6d916f3dcad62539c88724fc773ea87a4a7b331b429b01b743727748be721
|
|
d039a743ca0a7568a8ea886276f89149cb784e342ef1dfbb1f5ea17ac2ac8b4b
|
|
89e8e8eb03d49e7f9082e3b288d4184f8c4c0a341afbf4d86b2a6b61896e626e
|
|
2582b19cc520d4362805ad322c163d55728c07e9c683fa24c26d2414d382d01d
|
|
c4aa1955908a975e59918e2ecc14f07f548082bf97c7db3207dbfcef50bfd322
|
|
118f3ec49f0a869540f09294817729b475385c0d1d9b3657fea909c28d5f80a8
|
|
6248a18aa005583be5d8a0ee380752eb7626fb4b83ac3f3ee6902e9cfde10445
|
|
a1afc9567a6446ef7379f770d1fae9fbe8e3162e7b42345127d332ce65a3dc74
|
|
a8825703bef248cf2c34a536d7e96e4d85e4c617b1e30e1e0ca619711cd40ac8
|
|
f9585b2b83122db50caab401752530f0a6ff841038611d2415c9b07eb21d0bda
|
|
458c908d2b4ce18288667ffd78634ca118daa27c390143a14b8aac64ebc37d0a
|
|
b0080baae6ff7e87024acbdec100be94b5f7ad0ac560c5c8faec91d0e6c74c11
|
|
fae1d7b33e7833ae7ac87ddb7b3789f0a891177de067c83aa267f6999d5803ef
|
|
cc4d258539bdf36ba2b79f0be9a0d75369f2881833ab0688befcdaed5c816846
|
|
a0c40e8c4e3cb41d93d80eb210978753edd3a569fce99b71cee4b762c58ba216
|
|
307d7ab4f9b431355ff413c3b81193544decf6c042db144bf5ac684eafe078c8
|
|
06b4ced585bc3cb62d38fa581e013a922251ae8484040c9afeb8cc4fa4ce9daf
|
|
5ea838c59831fc21bdfecbc5e8948d2ef76fec69dc5969c76bd6ab958402884b
|
|
8a0b31712260ef2c0ec71db60b93e2a7dc33ea3d9ce0b9f47d6bf88d9818fceb
|
|
af8d4eac0e9c937655033f9f68e3b810f2d3789d504b477dc868855070ea9b38
|
|
a1ac316290a5fb05e8ebaf23431df7259e2fc760e970c1c4e5847d8f4ed095a4
|
|
65a325fe6a00da4b4af143f730843827b4c361ff7cffe864da25277dfcbe162d
|
|
01c399a7e6fc33d6c2eca41a4767c5831a5095d9f62393cc1fb8e4d937d0f6fc
|
|
943c9b34231744337b4a878b4bfa7cda6303750323c26517d2176f5ec23fc896
|
|
2573c94203229774782bc2491413f9f4ddf3e1c08d0c0760cb29cee805f1d41a
|
|
83334e11eb497037173ccb4c374edcd5e43e6efd9b319207160e81314a32ceff
|
|
4dfeeed0e45847a3fcb7922e7a604f54a0f4df1b81ae286e61f9e8e61c012f0e
|
|
dc0dddbc79fa4a7de71809e2f33d0d936f747448c4ea633f6b00ee0f1d3e8358
|
|
1fb9d63763f326c48cc66ad96971fe4223e5b61f4748dce7594c5544e8dac743
|
|
283131880aedabbc9ae318f997eda1abc69335b72309519722d74817211e0942
|
|
cf466b26cd28e79e6eee82672f063da2761a63c63d782e18b3dd4a8bd1dc748a
|
|
854db967188d7b75f07db3e3aec5b3214c3cd67089c352a24484123acb64ca60
|
|
ad2a4075b47c137c0471acaa303194945d447815061483c590327c3ccc69aaa0
|
|
3fd10cb7ac1ce55ef832c4b7db97c8bb7e0ae45d3d8916455b96168982a1e421
|
|
f46ba98e1cbfdfc7ffd77866e089d146bc5b467277628b34ea0e2927841c785b
|
|
5ce349e9e199cc2ef992ee2dbdcc63c8e97c17367b651d9d05f1efda6fcd72f0
|
|
e46c8c016cfee2ac7008750ec1f41462d022ab534df06f0b2d9029ef347d9129
|
|
74e31351479e112efa065cb55f99084233b0d3fe56ffd2a551aceabcf43caa3e
|
|
1430169ccfee777f9a65b493bc7e66d962fddac3a4ff64245304d9983229b8df
|
|
663ebe992d6d035cdcd74c87fd12f1deac072091486924ebd29b9c1422fcc6ed
|
|
eee2e341c67db3bc884517e097697570061a6edd229d866f011810b5e0860876
|
|
94ee55444d27bda7325a53e098304b2a8a2d305fc402edfd1f1462c1870622be
|
|
2a5d510cdaaa3d5000396901aa32c9ecdbe8da63eaba0df33fc3d59cc19d2c30
|
|
d603a1230756a2125dd8fb6201cd409892c1d0e70068ea8fd78c11aa0208dfcf
|
|
689410a45142a5553929a89f52a6dbc9679ad6c7f89e543167b2f9d7b2e844dd
|
|
9588b2ca914b1ceadc47a099e359ea1d9857322f8c18929aa4e4766b25500fc9
|
|
57f6284761cecf7ddd976b31b219a84de50abdb7b7c0614086bae9dadff4c312
|
|
7d56c384fe165f795fef3b203b5d50f7770fec51297dcfeb0ee2b1756f0e5f48
|
|
43d30bdfaf8e8f396a5f5779ef43975cd3178ce0635351670274ae6a04aa8f04
|
|
438374554dbe2ccabd3c1b3e42566bf989b2a5b615b594a05b30d250952a6494
|
|
cd0b6cea112c3effd861548e0dde20c7c37af97f2fae0713d6cb534672fe7a4c
|
|
7fbbadc99cdaa0cb337297965ce9e466382805dec591b81170f0527d3201ae7e
|
|
e3da8333eb7a4c4da605a74d9eb73d19d283d89ff5b037db15d2b1d9c6a012e1
|
|
f39e64c45a7c420990062f4f6a72483a495fc78c9cb3bb23c07e12104ec9fdf0
|
|
2190abce47298c0cf6bb4cb6798678928e427b38c2f0b42f0df5011f6fb4933c
|
|
31a37a35cd2e9c6f81a2f761c4f539ef822ac41c5b8b975cb6fa1a4b60a9c399
|
|
0936e3c571203506c1bdde11a5688921d0ab32d2ece12cbc6eda8960997c56ae
|
|
3c25321d922c00f0980cfb6fdc5bacc6481631d70e4dca573eec0003f8fa09f0
|
|
6c58159367eb3f4811c56d4edb80f2358e1b2f384896730b6dc312362783cee5
|
|
158355ca22405599a5c20d66e620bca1840a5add43feb6ba9ebbaba506abb204
|
|
94d8c813ee4da3a3fd0f7f54d6d34d0f255d75200e7d78292c25ff160f1a3d01
|
|
b96f2541921d72eb9699cf145667b420cf1dcaede5f7908f35bab80513618a9f
|
|
a4bd330e3496bbf341aef9d4ae1ad49761be42818ed5510159ca430058789892
|
|
fed458fcf003ab784edcbe347e89a8cc3682e8601a95192d935f0ce56ab5a384
|
|
f8db02326c2bac26952167a1fa45f0b79344aaf99621e706725827d0cffb898b
|
|
8cca2448654fa2a024c11a708c92327c299f87fd4ceaff7e8afebad9408060c4
|
|
ad54d518e119f9c68a6f9b43ab4c597eb6cad697fbabdf2ea4903d0ac523507f
|
|
f50f530ec4c581fa91ec7bdea114df9de3fe48e30711b6e709ca19f4e99ae6e2
|
|
adca6ae4ca42e0485abbc6df3715e74df23932e14bb0e852c6c5330c08e71518
|
|
7041f25b13a80bd2502b16ddb3b8216cca7dbfa24a9ea15f7bf3de4219c5e372
|
|
d7c9c0ee52128518c9b429545cd45a975a214ec91701d9e02be90ce478ab0313
|
|
a0e528faeac6d11d0fc4ca37b07179d3e3f5e2b117d62076be10e5036f072195
|
|
34ba2d6315daabbae53d3b46463c0a7f57172c0fd294975ba2ceb102f271d8dd
|
|
408910166f61d20e0e026cafeb882379aa57adaad84acef1b0adb3db2f482745
|
|
a4a4fa475799deb4775378b742c33428d81dfe8b2b35737fbc12617312bd9d7b
|
|
d8a72262ddb0f67ad8989c81a07888cd434f45c0b7e11fee716f4bb955617d7e
|
|
4d3a9480da307a556490e138cc38940a5a7ac697c552ee4dcfefdc31c5d8f78f
|
|
4b50e8901aa011b32c38ae2b4372df3eac6a051be666fdc0be8e26d9449f9310
|
|
4c06f6cdd83cfa2cd33ebcb65100b6a3619253cc51ac1c6b3441e292d07f208f
|
|
0771408261bf7b43b84fde2052c669817f17e3fc32100dd4fd1de6323f81aac6
|
|
7fc41487243592dbbce9070b7628ea827e5dadfc5157cbbc1a4fef345c0f7fac
|
|
a41692fd572a193f75747ccdf53ba4576bddd451fc325b01c19f9ff12b083c58
|
|
9bbcc4007f5ef6b5b23058dda67df5eddf64f1f6bd0933863be39a90812bc539
|
|
6c789226cf8e2f1c52167dafff57b31e4801ba57bab8acbacf91d5d13aa2885d
|
|
d216d0c0a6f837c96f013b2596b06f716f61b03bbb8cf21486375a38c4537323
|
|
8cf509373ab5b4a58f48f11c6449a1137f4aed85347b23bb4acf29503dc4d1cb
|
|
2af08b61b13bdbe0f36e4fe14b87e2d9a3f2758a9a38a551fe0b46651afefc2f
|
|
557af109e4c8ca16b375de5d9eaad262075780e869f5fe41e616b3496f313fc0
|
|
fa0eef89cc844991564047b40157db3710c4a3cf49beb00e4dee9b16b597d5f1
|
|
8747f6f38e377487aeedf9c9b5c83fae07a6440b9dfa55632d154a44f8f96cfa
|
|
51f131c557ff8e40d72f1107814ce53158dfc14f1fff684253a4dd73e349cf85
|
|
3772411f6824443025c1ea454e5c0349376f8104eb09f66cfd67aca7097d85b6
|
|
7464add8de6e6f0d5390003a1fc21af93de0c31dab0aa5c7dd42617f162d1b62"
|