526 lines
27 KiB
Bash
526 lines
27 KiB
Bash
# Template file for 'libreoffice-i18n'
|
|
pkgname=libreoffice-i18n
|
|
version=6.0.0
|
|
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}.3"
|
|
_tarbname="${i##*/}"
|
|
_tarbname="${_tarbname%*.tar.gz}"
|
|
_lang="${_tarbname##*_}"
|
|
if [ "${_skiplang/${_lang}/}" = "${_skiplang}" ]; then
|
|
echo "Unpacking ${_tarbname} ..."
|
|
# We create a directory using p_${_lang}, for example p_zh-TW, containing
|
|
# opt/libreofficeX.Y/out, with helppack and/or langpack
|
|
# extracted inside it.
|
|
mkdir -p ${wrksrc}/p_${_lang}
|
|
cd ${wrksrc}/p_${_lang}
|
|
if [ -d "${wrksrc}/LibreOffice_${_localver}_Linux_x86_rpm_helppack_${_lang}/RPMS/" ]; then
|
|
rpmextract ${wrksrc}/LibreOffice_${_localver}_Linux_x86_rpm_helppack_${_lang}/RPMS/*.rpm
|
|
fi
|
|
if [ -d "${wrksrc}/LibreOffice_${_localver}_Linux_x86_rpm_langpack_${_lang}/RPMS/" ]; then
|
|
rpmextract ${wrksrc}/LibreOffice_${_localver}_Linux_x86_rpm_langpack_${_lang}/RPMS/*.rpm
|
|
fi
|
|
mkdir -p out
|
|
cp -pR opt/libreoffice${version%.*}/* out/
|
|
rm -rf opt
|
|
else
|
|
echo "Skipping ${_lang}..."
|
|
fi
|
|
done
|
|
}
|
|
do_install() {
|
|
:
|
|
}
|
|
|
|
create_wrksrc=yes
|
|
depends="libreoffice>=${version} ${subpackages}"
|
|
|
|
for _lang in "${_languages[@]}"; do
|
|
_locale=${_lang%% *}
|
|
if [ "${_skiplang/$_locale/}" = "${_skiplang}" ]; then
|
|
_pkgname=libreoffice-i18n-${_locale}
|
|
|
|
depends+=" ${_pkgname}>=${version}"
|
|
|
|
eval "${_pkgname}_package() {
|
|
_pkgtmpl ${_lang} ${version%.*}
|
|
}"
|
|
fi
|
|
done
|
|
|
|
_pkgtmpl() {
|
|
_lang="$1"
|
|
_version="$3"
|
|
depends="libreoffice>=${version}"
|
|
short_desc="LibreOffice localization files - $2 language pack"
|
|
noarch=yes
|
|
pkg_install() {
|
|
vmkdir usr/lib/libreoffice
|
|
mv ${wrksrc}/p_${_lang}/out/* ${PKGDESTDIR}/usr/lib/libreoffice/
|
|
}
|
|
}
|
|
|
|
checksum="
|
|
8bac0b2f805bc2f95f89f23caa7ee03930fcba28a20c0d2b014bfd3ec4f474f2
|
|
79822d1ed0c69f2dc2b4865da41f2e3ea72bf3a18dfc6dfe765a0eae2d2fc765
|
|
5d51bd99cb835b21fb543a7eff306f536cfa8cbe9e512d6417d80143701ae245
|
|
b23ccc7a3eab4f98851c07fb4bab59f055535bf2d4f4b3050ecca667ebcea9b2
|
|
4df6503fac9f25163cc52c33e3c5381f169473f95de2153df9d357011ceb3736
|
|
1b46e16ade3c5b7e6e1df09c51b23d56a8e26ef31c755473dc177640b4b4d0cd
|
|
29232cb274ec03e05d142aaed704662e03d87ad53c2de014a9a585b14a540411
|
|
8f7f5817257fc7d00b0a52acf6cf2912d9ec76412269e00676229546a1929e66
|
|
323ddc1c9a219d906d48b6d5256312dee264d39ba16565f395cec219289f2ae0
|
|
8ba61214a615bc405a77ca569fcc192a54675f40bf5ca27704c114d1106aa0a3
|
|
f9ac523f4217b3ed8c27e53feee990d5d0132da92df83e38bd6c90013d12ea54
|
|
a867931660e0a75386d8569008b905b25b2777519bb22dce8e747571e8ce0aa1
|
|
25f068c66dd075d4b18668a04c0b5611bbe9c260bbb38528c2336741dc4e434b
|
|
4df3f066bf8da32572554e1fc2175af0c703fa02778f950765e3a0a1bc4e8ba4
|
|
cdd6783d3fa198fbbb6d08839750c8373a7bb943874f6bd5edfee5db0d29b5d2
|
|
4f234ab91b6159c51ab301d81d73d57f102e33cf3db203b32d4939b26a3a5a41
|
|
8ce96b032920d4f3661e2aeadcc59ccc69713a213216a7dd576355110d33163e
|
|
272efa8ce51947dda48478f16b932a3b151e5a652c0a9a501e729b95c1f9abc1
|
|
8c592cc6a51123ecee8b98aaaef74638604c930127e9e422ba0421bb7e95b1a3
|
|
60272be48ae849b3294b3d82b1a1fc9423a3d302be2a06ac02a111b1788ace23
|
|
3da46c086d197c2472af4c674d6bebdb2aca5279377287687a9137b9e174cc51
|
|
717ebbe08f1ca10700341ac495daf0eb327444ddb20e091e0446fa800b19d567
|
|
de63ccef3a2748d9c71ddff2e846a20652d4217a37c49901c3732eba549129fd
|
|
574e05130a34b8aebec17f6a4d22e8bd2a84d59b910aa6edd9304046ae1af1e9
|
|
e44ebcd253e7732dd65284dbe8507e5bb1f41290ac329f70b18b5c9df9443436
|
|
c32eaba82c2842bec64b5d450350f62860250b6fdd48fd6b9203ff0b457c7caf
|
|
05acaf133937e2a18cd42ae7e7582d6048ce3895f50bac1b7a569687313b1aba
|
|
34f3130234e489a1a7f35da4eb5006e086873b686c46ff505d3f39c3409c67ba
|
|
597782d25ba17e3d728adb3e4f5f8ff4a230c4c8a7727ad0b0b47eace8e3c8d3
|
|
f1e16c188a84c3b35b3ef53c98780380678050b803d62c4d2b7471a2e67739a4
|
|
d2a3f7aaa81519e474804e6ff6530e7c84055eae79acc5785686e846dded70cf
|
|
f47d588546bfb6a8782da8fcac69caea234c7cc4a09cc292b0f3f439af74e960
|
|
0f8d61ee5380f9fa0332762d62685f6d77d80ba46d70ab118180a4ebdcc40cbb
|
|
e6a512f429c91538dba76070680e140ca5c433d4cb4c4df3b66659d3460cd933
|
|
9b2c85b9fe5db673512748986b9097085364ea794b227582282a84326378ead9
|
|
675d02b293671a9500bfca33201aa53747d999ecc18f660eaeff840ab313521b
|
|
88bda05b961529f5e236b318d96234fce5a27c5bbf1c174a866306bd8928abeb
|
|
4f6310ea28d328f05d2606b32db0138cdef5088ef2a948396ff32b5265cebe0c
|
|
52d7cfb5ced3cb90ba58934187588cf8345cac5c4f2ed107eb6d806eaf7c6772
|
|
460ac399f45c8a6d1dde0ce12a2b5fe4165844bdc4fc69ccc8bbf9371bfdc3af
|
|
0697212d55e66dd6a789658274377fe095574b4b04f25705457a5dd66a9f143c
|
|
2da1747507214e8cd3025cd0e03f573620340361c28c15b8f572a1e5cdb14212
|
|
97bcc060159ee338e1cc1968cb60d883afbe3850146c0a3d30b0b0f7bbe6194e
|
|
b4c9fe0bec9be3b91b45ad81ff136b8d4b80c9c095db4ea78c8cf5212342907e
|
|
17a0bf942d194db13349d52d03f8729eb3b0320d6f2bb7f8e503bc6e3b09cc54
|
|
f39426c3186e33c5e538115b4f97226430e426f4514961c022ebb578693f5b15
|
|
b5cedbe2e4684c593b0da405024ef7f8dc44214106ec3104ca382fa97bc4b72c
|
|
d4980707dfe8e9429bdfde2095ab8d6fdd4a983c32d62bc22c2a4d062a68e195
|
|
cdf2259ebb2049ee53a0b3fe8672983c8ffb329f043d4e79f43ae78e258b2632
|
|
631b6d4376e754c2b35136e0370155bbdfeff1afb15cd2fee7d09a38ead83f7a
|
|
5339db683dd7df8a081352adba1bb24fd66eb185a4e1e4681e4f898b40cc64de
|
|
89992cfdf33bfe60078d1122b133622f87b94bd24868d2a2ddee0d3262011228
|
|
5b1bf6ef24f3f58fcee0922cb8243ecf2a015e5621342593763454092e77b91d
|
|
7f04f729c6b6b89f31235c9baf3bc7c4807a75eb7e93d93cd764fd85c618fc35
|
|
533c8cab1b9d4dada8fd5209b0bd24e8ad23ea3116846bc1eb3509b7b509cadd
|
|
cd624f534a13f49f613fafc89386123d886cb11597c46500761862983e37776c
|
|
85c479a696dc640fef79c1d2b9e7ae0c79779c8fcb2a7c9aa67f970e26de8c7e
|
|
4a8128356e1cdd0148b522b013d003cbcd151bbc980ccd7cfb0f1089c046fd66
|
|
216560be32f98cc3e27baa5f86032b49c7ff3050d082e05497f45d4d318d2004
|
|
299d81d33fa374b55b08080332f9da48fb8d651c6efdf26828882707175cb49e
|
|
d63b508fa8f8429b48cfb19581ead529af3bb2dd321a6f465b9c337fecdad318
|
|
9ad9dc78c5a6422ec709f3799911951aee2e12e1b44ec27f4726eba0b25a22cc
|
|
10d5e27f1443af55d4573d5e55f60396a9eb60897abc5e77050067dd78d1273b
|
|
42ed285d1ce82da3cd5445f139301ed0d3b62f4a55182e9220feb6be7b7a27c5
|
|
e7a89fba5f0d9b49518d42f8f5f0ebb557564fcdacc07b9dc1654c817ac144e6
|
|
ce31a6d84fd6b06cfbe432c1d94cfdc7d772c4dff3e48af5ca2cfde4dddf8c0e
|
|
d5ffd579bda943766eaa18a7c4759012601870a2407d28d546203762f990de0e
|
|
c17a60e4b0c99f58cff1aaaf711ac0c0b0f46164e39246e5fd82d82a7c41e506
|
|
3ada001eda53f2d7dbe5d8b97fd1f69738ce7ac8e7d08ea91e03cfa44de50703
|
|
b5700fab13a00e7ddf9a46e66c576363af163cd3e5a450e915a4126485628b89
|
|
c14542bae655bd0018f5bb6df40b2a24aa8a05d9c587ccc38691d36f26032651
|
|
4ab4cbd954b14b14efade904d732883a8854c4e08fb30bd16c2cfd281801cc73
|
|
7774dc3775cb16cfe111186d7bd6d05502140600bade37527addd8d853d52757
|
|
6b548754a6db4460d61d4cb02d63791a09ff4b8aaf290208096981e2f4f39917
|
|
c24be3b0fe15928700ee77cc9bf4561484ef4153fc8666fbf3edf12599687d65
|
|
89127319f21b0b5596481a75625f6603eb7ccc020fe47fcd146d7836a5ef2a06
|
|
5605f1a50265cf1620d333e9b95f322779c83f2fa5c8eb6ed71982c01fcc9f99
|
|
f08d65dbbceb3ece632e2dfa702aa91e1357af417e70e001635776313b539ec5
|
|
8bea04f99670b0af5ea5e64a801e70be20d839b8fb3f3da40d284970ae17a4bf
|
|
1c8bf052bfa68f80755254a94d12fe3b1c6909ef25ffc165152ea8b04e7f1238
|
|
4f0e1ad15dde3dfbc1286a76e97b986711f29f9805557c7258c7e71d01bb184c
|
|
9bfb8203e9808688dcd4ffaf880361ebdd989c490651ee96d4414ca906fa27da
|
|
47bac1163a174c58b8d62a0e9330a68e7cb274e214f24bdd96688745f29463ba
|
|
70cd99c97c27ab1ab1b460656c069022c875d8aafc6dd7093f2707553485b9d2
|
|
e6e9f140b2e53965621d19905db622950b07b2319b6a29f4be7ba8e2ed6a74a0
|
|
03f9027450df3a3750ed1a9f4587d5e81149df47bd1a9f700ea9793617adfb75
|
|
de9877a8e8e361dd1f1ee1c5c84aed89b0644f786b59fc1137358a8da5e14766
|
|
962f470b44bc79b9d82f592038eda2ac5b8d695af79e46a6edea971c2e30c62f
|
|
3f9e14dfe38bc4743be76b36db5a7a1ba8640c355f98defbd85f418850fcf2b7
|
|
24dbaeed6c51c2ee2ee8cc8e1377f0a3b991869df0aae989514466e815f0d52a
|
|
e01bb58c5534d12b2671d34b6c755fa221cb0db9d22cbebc7d375a56f183dfb3
|
|
4c38fe9546edb07bc932758a46b4ef2d95b555b773d9baf99f21fbd7f1e62fec
|
|
3f51e0c89d9a9a385929212d45bb4b75e204bc33b783bfb58d78d21687679042
|
|
2ca47853a9ee460d67e0d47a326b25194e06121c5be20ec4fb00e93736d0f0a4
|
|
fe23b76ee65110b0e44bdea8d0cd7b0b872a8d137b88659faa56907fd1d0d57c
|
|
dfa0ed47d064b86b8a00ef85f7b8cd193b7e02175d2b6ac8704fc0f499e080b3
|
|
751db4b5059aa199ff68455c3c080fa3ca9f6c17147a37286ef4b657723ba048
|
|
f0409ce4f34e1e22f3497fc5aff819ee6123aadf625e8652a2a77e0f8dbfd706
|
|
676807f33e099fa8011adf805922a38acf8d96b6b1b696463ec313ccb7066298
|
|
714ee0229eff949d3d4374b1344990d48081975c81b80ba464ac49cbada13190
|
|
33f76e536a62fbb25b978cfd7cce09e2fb0bd5af4b850e13b2030b6873c3f7dd
|
|
9feaa68c4775abcd64ee942e02f1e14672f055e9ad8b7e60ee5005b86761c7a6
|
|
4af7482f8e47e711362586beab97a94c9a50b48a0897413def82ae946f507fb3
|
|
c647f70b21f79c233ccd093d872a2b9a3376d0653abd793331db211331628e60
|
|
4e974d1a72adb84f336085dac7adb81c4e3836acdd1fe73af795bbe1ab4c04ca
|
|
996881ba6a75261192936b640a085bd7f0bf1df25ac656bdc20526d5cceb1311
|
|
57bb107a76642f5a7f305fc01d1b24bb043b2a71c8ae3575879cb006c60f3618
|
|
953d113d38b87150879f3e41fb29d21ff69a04751e1f3184a9665563eafc2066
|
|
b55b4d1a65ac6f4b0e7afcb1264aafad4009200df96d15f214e57b990a7a654f
|
|
9e388c8627e77635e5d5ffb2f27a6824b04f4e62ba7975b70d6bc39a66832d36
|
|
c28a69da6bd871508b6bf5823028e121d8841651917a8966094432f7384e09e7
|
|
6669591407558ad838d65fec50c115d387a3a2fce795e8feb34bc9977653e499
|
|
7fb5bff2ce31219d1f194759e3648746788cc2370f7f38894b761ec512b48346
|
|
2e49fbd22b5c2f8ae141fec2d650879f32fe4f04eb7b8d7bbef60f75a26553eb
|
|
0af943a0877465ed25e348159f76c87207e37fa2bd07a5eb03aa5248715264cb
|
|
da7d500144cbf51bf57e11cee87bcb46361ffd1fbc7130463b7ba3c78ccc8a8a
|
|
4f58cb4d710fe74e995dabf54745b5e6431b7d7620e9d82b5e21354d20d2ff22
|
|
fc90250f994eab51c0fe605d400128888da0d647aa20146bf557354aa8c9d49c
|
|
7c695b94c0af3e720ba2f5dea472aad443ecf54fe99290fe88397b929e5b2cd8
|
|
a95bdf48c88cd82e5b321328433ae159b958e42980bc1af4ec21123240303825
|
|
bb11503e717673c1082664992161ef5b9f3c43009ed797423fa07c20523e7166
|
|
d161cbb0116fb4518a29f994448d14449a27361d019afa206ac5b87e78965b31
|
|
6fae4b97a9dd5a634861cfe99010a1d24e8d15f7e2a202fad1d925221426f8ed
|
|
3db91e1eb2066f2ca9dde1e749b835fb7bc5640e26c272f75d5b23d154c57630
|
|
e1df4eecdb1ffffd0165c22144e6adff5141cdca64e6e80541053e900d8acaec
|
|
a5b5d43b33408eccfdae5081fe4d42b5c6108a697438c66da66aed9c828257b2
|
|
caa70563d49425cb8ad66f707921573ead9e63376dbd15a711328b21b5dc5e65
|
|
c802f38c7d250f7ae806d698fd760457d281f429bce20db98f214432c0094f00
|
|
a36df03f406198c8469e502a16f4fa41ca9fb9cdbbd5b78c3f70f4b95799e4d0
|
|
ba4504dc214d52cd111dd226139e568fca830b5eca4c26d0f053867db122176e
|
|
5dede3929764a9df8cd2284331001d8063e4ebd889101a8cfe59d446ebd99210
|
|
422460a258359f5ef700c2a9212cce781ecfc5d61286da56e3352070cfc0b695
|
|
28b1e711f159e90f2a8308dcf63880876b129cc5b7ba4feeb3a3b96e428b03ad
|
|
497eb781272c1524711d80e29c718088d3a4a2020447bea33dae0fed24b934c1
|
|
aae7431cf0c99a8ecc1c659d13281cc59991749923c8f9d7fb67d0cac32b026e
|
|
2572dfa20a7fe0d691502d6eb4d2452ac6076e67916ef74e55aaa95ccac071d6
|
|
486a414965b6fff4cdbcf2c4e3476ec51d4234232949494f7d1a417751f032bd
|
|
ee3e81c496aef034c994f859fad7a36689f50037b454263e3a2ee69c9be19315
|
|
5894ca2c9082217c958bcdd3e2f4200f3d8293782f4e6b4223cdaa90ac16b35b
|
|
4a5a0519588b6071363cbd05bfaceaea06aea966f963558215bf4bced202d552
|
|
d565b50087e829493c1cac8a12c718726dccce5875d35ced4fc76a2af8d5a94b
|
|
a6afac900f740dd050b8695e12dde9b179231491ccb45668fab16f89c2fa893d
|
|
d994c3c153f38ea3ee3d54a32c451fff4cc175f92558f507a71a72f105f5ee72
|
|
79f04ab02ecc1092fc3e2d9aa60ccbf82c37b97b4a46ef3abdf34652f347d169
|
|
fea5777bb9216a7a8d89d847ac59c6555bcaf95a80c1f5eae1602b137b3beb23
|
|
fdb6591250b1addbb3b1bd204452d2626e32528402cb2f8e09b5893ee4794de3
|
|
e019bca716683e725f91064ce25d5f95cf3f942077e65f39e00f102cd92b7110
|
|
f7bc6477cd41a661053cf8c1473ced020a844166165cbfc6378984d435f525db
|
|
6877e73ae9aa01609d993a7665ea33551fcf21309297690b13c28dd659d52276
|
|
f85c393cc57c47bedf6be8dbd2caa11b2a3dfe54d6331801c1316b4ab60bf1a5
|
|
ae98d3ee2b5b197492e3b1b13ff468c79ca8d4eb7371c86df206fafa276510ed
|
|
d769c507d157064d2d660aa5575084417e245ba573423ee3550a4ccf2a6a04b6
|
|
85bce9ce86b188dab7004742ca49662c3072070f3baf110e3891614073322eeb
|
|
4392d4cbd1bf2a9ca8eb9c48cd58b102e164ea75708f5d3d5a6f0186878bbb41
|
|
577a530922bca2e4cb6c09f72877bbb6c1e55c9e758a24c26f0184ceae6976f1
|
|
af3451a9c1d624c960c3ef17dd820e0a35f14ff21c7b98dcc8d3b15ad5b0b282
|
|
7bee2005fe4727f85ffca5019b58cd46ca4ec67343b8b0ff5ab2ad8b66c89ea9
|
|
e59c83ce8a691a5d58c737700559811812cb1b24d7cb91895b2630ae341157dc
|
|
24d6a4f78449239df95bda5ee0759649703fd72ac0a53a120e9ec1f69f4880fa
|
|
db3f7004bcdf4f8ceccd22af667d91ece519a0b8feecb9a255bc2d8ba65a3414
|
|
cef548a82856a1c1dc4293554d466a701d94d79498b718db7180b957bf7bae3c
|
|
8aa009496daf6a6f653d6ce5f200bd21a57d4fd79674a539cc0dfe8a14a24aef
|
|
baf9b6c5bdd700c1a7421c7fa575aba658339996e220e4431e8120be9ff58391
|
|
df38d7041ee42da0c19f0bacebfd963a45c61959525b87d30b576cb6eb9a0f10
|
|
e1a189f880d8bac00440fa6049e2258435c7c090eefadc4c5bac9d514369b126
|
|
fcfe41aff5a1ef57af970b709c442933950af75bab5ef6156fd723cf3dd1e3f2
|
|
35a8dc8b1604da5e9182074ce7b67f00f25027c63139a9e61e5a132d51865e7a
|
|
e007963cd487e90adcbbd36b292d6889def87caa995edc735ee3c055ba34cca5
|
|
b693ac0bbf20eccac52936af02c570bcb6019c735b2ce47bdd07d61abaf61105"
|