525 lines
27 KiB
Bash
525 lines
27 KiB
Bash
# Template file for 'libreoffice-i18n'
|
|
pkgname=libreoffice-i18n
|
|
version=5.4.4
|
|
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="
|
|
b18bd550390de11b750b96b10cf1706349e36bf6d14ec2ceda63e247218f0bbb
|
|
de10bff120368bb90b84abdb75fbb10312fdf3e507636760faf0a69fb1d84df0
|
|
c9fcc0be418326340f68a74263edc40a21ddfcf508cba9a5e80f8a1ec729311c
|
|
3e0334b1f29b021d59d6c16c8e9484c837e66084cf9a5f63123efa37d5e3052c
|
|
2cc8c3553b213a4725703bc66579d8cd48c07dbea6de1900183cbb4517c0a2bd
|
|
512d3ce52c00c4d658a65823e5d0daa2fb11fbb58b2e48568027d9b90c39739d
|
|
c21632d2500cf6f5b7546f8731fc9be7df6f2afcefa233420f566badf5394ccd
|
|
a6af37ad3b4303e47a86b0d68f63773bbe0b144abc167c243bfe1b0b04d3297a
|
|
fefb0f84fb90da74d9f60163f43a0702403042e30f7b24a05d4d4e11b0905a07
|
|
81322b4de5f4ddfd1c4a8ab11de50510558e515af9e47a41d1aec8e5df27ed45
|
|
069be5f09e598b7c92e203f741e73f7a0111fe1593ac5996c3d3dd2a641b2d1b
|
|
e0bec806a0ed1c2220b6dbb221f6f27f076b9bbb416d7dafbd3e75df6b8f67d4
|
|
f31fc73ba44163b313106277cabab0137b9eb46979f2e8ac701c775d1859d719
|
|
07e7245639c2492c554ec97f2682244e8e66ca0842eb5d01d1fb7444ae229605
|
|
373bd0fb78ad05a7724e42da971dc0355fc250440f59964b93d9c0558b67dfa0
|
|
f3c38ce2d29eb2247a6bd8461e8c2c65eb0ee0fe577cb956e757b1fdbb6c6429
|
|
46fd161989d1c2ebbf0a51f94fca66471a5c232d63d788345a12d201c310feea
|
|
acd36e56f174fd9ff37648ed1346f3df027687f95db23c9d1a1fd003c5c5e1ff
|
|
7dfcf7c47fb024204a78ad5b7a5024951fc6d09eaaf4ebc0d39538e1e938791f
|
|
006880af8ed395b9af1807dfcc0e95ad2214fdfa80b9bc2b14344c0e6b6b8c73
|
|
afa912ed6740570919086d6f116f648a9139e0af957b4afc623c4737b8c45d33
|
|
883b0e63476e33029227f462fc01f24b3c9f1afcf07da15c6ca00631a2e3ae75
|
|
50837ab211a00a33c6c9fd698ab1d5e81a001f325797481e0d3cf4cc9543db88
|
|
97467fe8efc256b97c1eb5cb12f998a5a0dc8c2744cb729014b38a99e1d7c891
|
|
c9e00fa1a1d3ae3ee7923fb4771b09aedd0abe29b69ad9511198a1f713dae8b3
|
|
30395b42878f28023890971cb590f58fcff10cce13ae2d6a52295715f025395d
|
|
db09fc827b9ec838a4599cb2fd58daaf22a5000f278e39b93c0ee6f98c067f5f
|
|
daa5549c2f42999a0421e780498d1d59410d1ccd6b5a8db8eed4796fe9f68cb9
|
|
564b2097e0ec2f516e49a9e00d2964b7cbf26fe7116bc5dbc8063e03a5d025bc
|
|
42580bafd5cb46e8d8cb249c78bbd9d9e4732e8084c4574991d5115e69f83131
|
|
d022536c47278aca815ac4baaf382baade41a0acd0750f901f3b6767c6a90785
|
|
b0dddbb76963a2375c09719cf67901f423d81fb7fb0f1700590492d8393cb0e9
|
|
6bb10e2c95b8764be51657ab891dd591e3889ed9fc6d2f086765efffb128ceb5
|
|
43bf8648c82d53ffb232b7b56a0bec16aa136399e3e0ea64892386cb80c48890
|
|
c91b63bb8108a218c30a767b18ea62ee847d41b79c54009aa18a5bf77bc62abc
|
|
7f74ca85fc5b9d84138657ed963293986fdf15ba412d5af76c8422381e006986
|
|
e22cfd78845bba6bb216d216bfe0e9e8e6a667d75e0dfd10912865b83d094b6e
|
|
a9da06a41f59fedb6d01b3d0817b545d4dd7281452e8683fbf7d20a3ddf75221
|
|
0b26064709f221963d8aed3f0892e05473d41f03d4975f541c9216c5367f37c9
|
|
b1a530254f39918926da4e723b5498513bda82fe52e5adfa8aee8db28a887af2
|
|
07fbac0591811aaa8c57870889457b93a63dbab53e79e05b0de4832450c3895d
|
|
4c79f7ee7c41b3e24528e87a71e76d3736e750e5774e466ac0d335410a651c16
|
|
474c7c323f3218ec5c0f1a8c8e415ffc04694734ea5e1bd38a77deaf0da499c6
|
|
56cf79763ca339306bd1f500b6014501a64b61c7b91960986728a8912fb23055
|
|
346af8b4509e4144e946724ba40cda5b0731fb4c6182e3efe384e76f1f0ae916
|
|
ec8620676fc27123aac533f8b47024b1ea78c9b4cf4bfc475d731bf3a9fcf1bb
|
|
7eaa3f533d03fa8f305763e86d2f740b92bfa9dd2828be72dccee0a1cfde0e6b
|
|
d7362977e1d3d1af97149a6a261b927f31e555de18982da348480d4ac8dd9b55
|
|
d98765dd8713b9137d9b296c7ff912b9a813ca0b76f44d7cadd297b123d987d6
|
|
e047bccb254e2e0e97ce3c6414c90003edeb5e2c0cfc1940856423eb646bf061
|
|
6436e840c4db590adac08f2a850426de7f8de960b4f1e8385d32d0c4c2bc2b17
|
|
133bb1515536de588fb9eb3cee83ee31dfe7fbf8a00d49bd0d0d11866b5d833c
|
|
ba459925dbf2b99ebe1ccc6f06393639173c11483c3606a0b724f6d6ccedbfbc
|
|
073f68d4366f3a0d53060c0ddc0d56a6dc80a27a73c15e5686e69fa729dd69f6
|
|
d7bc4ddc80fd3bebb33cb8dfb6c168a6a902eb74d2fc16a1754db408a6afcda9
|
|
a7791d836cdc74727205b824a972512c3a1baf81eb8fdac59b9cc7361d0d6f8f
|
|
0b6c743ad476c0d83edf890eb76a41f03b670506c2f870388916b539eee3ceb6
|
|
b6c5025831daacdf40c52612c28e160d77411893c3364e6988de7d60f980a13e
|
|
09e51449834fc7f5c3d31575aadac0014b4e28ae4a8d9c0869d6d95252303450
|
|
1cb1efdc7243c1fb92265cab765e7f3d8e442963e77d366ef8c14ea04bc989c4
|
|
fcabe0124122d11e9b26756cefaee26a4864d858b2d26d486318d13f7ba2ab45
|
|
3b85c6f3396f8d7aed8166afa09ffdc28ae215739a1918bf646af612bc547d5f
|
|
8cdc406704659953b26f31245b9155ab01550e16c8cff99cb659f427290be2bf
|
|
244c05c58e1cc77535ed63d2ee2a497ec3b066573b5481d8e8a9eae1198ddff1
|
|
99faa6667d8027e0edfe20a06e8166935b4581d19a732936d298a01f331a1efe
|
|
6a2896085d8751d0ca181a43e1bd6ba9599b7af17bb0ba954a74a2f24dd7bf82
|
|
819e4b8df07dd06529d0ac394b1b493bc610d7f86a23374109884c7dc52fafab
|
|
3d9415731120758899e9adf8fe65c20a217347852f75054253f2f2073559bc00
|
|
3aeb7fcd603d069b1ac5a417bb668cadcfdb8748999df314dec49f1cc9920fa3
|
|
db9385de9d81d667c0f3b58c18030531038d1bd26ba891dacff0e38d2192b58c
|
|
78105c4d886ddd1f8c531af4fff1f648497a4e4dcbafa85101a1a2a93930d031
|
|
a0658ca8736d8a8da7e8904d4e34875b0513def211b06a13e9d2c8106a78f8a5
|
|
1b7409ea843c2781098eb73c639618f5ad92c844e7ee609a6aba6db81b64e337
|
|
14b915d52b0d60362cfdb7ba7b2e15e478a483620c513cb157b225706501645a
|
|
59fc89885d862e3795c10e3860e41f9e12665c195a5c6e3081a045034dafc567
|
|
4266d5f34ad9702a798a4e5237634d09a85ca4cc128a3831cf15fe870a31ed65
|
|
514ba4f928ea09507a85e63a4d09279e5c0995d8b4e5eb370bbe4e861895bbd9
|
|
e7d9a948b76eeb6e51a57ae90cbd314ed644ae5ecf283aa8122f7691a6deb4c7
|
|
f2a0c7e08215d4cf07a2ed326d03e12dc69355279ecccc1fe92f92bb03f971f9
|
|
4d2a652c1056a4626e87a9fc253391712ae146886b69b4795176ab740fb0456f
|
|
605cb8cf0a7b16d9b160fb87672f998f3594d16c80d2cca166265a99d3204cea
|
|
d092dca559ba752742712706a29ce1a93571d2ef45e5075c412fcf9d171e5a85
|
|
269af3464380a11c5ea44192f3f4a201642e5d547f036d38a7b174129826d4ac
|
|
88df7f5825af0f4e2d3a64df832b7305b57d0fa8cdfb09a0647613f493df84b3
|
|
6a6bcb684118606c9753dc98894d2df70dfca3aa448c209302511734d75b08f3
|
|
0b41b240b3f899e215569f27753e2ca030bfbed72d39a9823a02ea5202d6f8fe
|
|
c966c120ff7a49a260953e79c4c450be4bca56cb0dc0ad6350491ec62a4dd5fb
|
|
eabb8e03f777463c292cfd2f499a12a558dbc1c4c9d9cadf4e0c65e03d34d190
|
|
667422c5cfd8b4e663a64966616c7db8edf581925d877d2b4f3a8d9634a9c9f7
|
|
290770fa2d0c9e3e75cc57d813cb682197948fd4f2b60560c3c6f3273369016f
|
|
7d2ee2f3df241071998fde3a0087d033debd85c551f44e367c7db7e57386d6a5
|
|
100a989315f76fa23a38441efe3b5a9dadfe64bb4116f2cbd57f9fc08d23b883
|
|
ad52259240f72d37be8604452f97a8d5cfc1f33e9e89399bd3000b27c6845c5b
|
|
2e7c4a96a3fac021aa2eaec036fd1ba5428880ba3fd717fa71f8c7144b66c134
|
|
f0798e59e34cb3e7d9838c44637c01be87221501e72f6ce42000c8cccd144f3b
|
|
039318289590072fc983fb07e2c489a85d709e433ac0767617482ce869aa30d0
|
|
8ef190fa822ba31ea42e680cfbeacfc2c09fc8a15cb1b4a9d064fc49fda1d386
|
|
32882a571cccccfe0991fbae428ce977a6ad126cc9cae84b25946f8df1c0f7fa
|
|
ab239abb9627b55d1bd24556a737960ef42554e3d0e58459defb5e1db30bfb4b
|
|
3501371da8a10d17c99b79b8f9911d1062da126bddc54ff7319fe02c0ec31314
|
|
28dc4d7f0c1afaecf9f3bc7e59e2af7c416da5468bb1f23c6ddc9c894f227c25
|
|
a3dd815cc6b3311280d2181bbe6bd4351d70aa224bbc8211986ce09bd92e68b4
|
|
d9d6a30d3477e8bf3fb501b4176978369791ae3c20d950de593262cfaa12b60b
|
|
ac77a60121ead6691c602685867178cb3d3db1b2efafd6918317ee0c159266d9
|
|
1566696837f61497a20cfd6d595db54992c96763d81978f27ac321def64c3df5
|
|
cc7d7514f232b18bd1386e0bbff3578cdab139224a7154080e97d84601868eb8
|
|
1c1d71dfde8231db2844d14935e2f00cff79ac83a6f2002ccba35222c5f4c1c9
|
|
be85860bf8c33fdb3b6db0f82777119f734ed9c0a251ae26d4ac7a83379f143a
|
|
08c72b3349d688ffa387ac6691cc17094f1e90468efb352694d02840e9eef054
|
|
82e54e4f12e2d3590eb02f2dc0560b3b16d6a4ff7825fad3750c6911de65ef9e
|
|
2f52416a6b11fa18920fab5cd7289e3784b1b55157e6b6e1961180bb64e6b89a
|
|
51577c2709a806a1ab780ced34df667bb69f1ad529378b7aa1dab563131e1645
|
|
89cc047d16ef3d9122ee98be9d2644ff33ec53b0f0dc6beb957e9485ef8cd64c
|
|
cf53d96357f40884bb467e5508d9fcc00301294b330507aee09e0fea731a78ed
|
|
f650854c8d40692d89e5e3c83b89545f5f5e3ee63e65c1ff17f1613d869cdb78
|
|
304cfb2e0140a25c68b5a4cbd8126b029ec569a75770c33238baa9861a65224f
|
|
501bac8d8b10624d5483877eb6a7fa5d87bf2ca7aec5b2935343bc637ad88502
|
|
692e90a38923df952e9179580687cdd5f17d8a81e3b4ad15f0767f19abab9eed
|
|
9d08dc90e03ff0ce08ee8a9e36bf63a632a48652ca7405626dab27aac3b7c8c2
|
|
4af94c66b2f12bb26a3e9426277f5d865841d5cdbb52c7b3f398118e090299ad
|
|
7926cc5d28c466d70c8a62740a298ac695a249966869aad508e1df26b06c5ff9
|
|
ab255febea9dab276b5c172d8a50a299023031030428b4f7a58a64675f782107
|
|
4c12f633e3360b4d11cf0eb50a56d31a68a81fae9aa37e8deedb1b34115b1947
|
|
3ac898401529fdd2c70af4eec6d15a654443dd08f10d3fffc24872509376fcef
|
|
e60b0bee732cc20d792f28f6497e440c497d78b216c219782c2b58042dfcdba3
|
|
2d0753c425d92a616236415e4450b93520669950151c9db5ab4361ed3dab0c2b
|
|
977fe21ec6cd41ba159c6d5c14ac7764246328a7538480e5bf411d29a686aa31
|
|
9c23faa12e2d105aa5760c1717606c7a5123c98bddabff3d07113cf55732d4fb
|
|
9d75f3cb5ee3a581b98e1b68698123d2b0c2df35730f9070346639081f018e26
|
|
bf2f6f12c7b89ab610293e112087106cbedd8875c972b6ae7424a68cb2320eee
|
|
c610bf00cc87c18f042aa5ec1ba2c62e8b5aef5a3cada9b445a62d47ac788348
|
|
0a6e9d167bc356b46898d8ae36c6272240cc4004fb67aa3575f8e25c9f11497c
|
|
19c5b60795ea5d5fef22de517b17b3122276ea63fe283f734d268545a744cdfc
|
|
1a8fe5a1066676f3d71d4d3d16b508fe1c07d233eb37fc0a26767a15aab289db
|
|
bcd65e408e89b9af264224049a2e9a60d8d9b1f0900ed7693d6cd851ad621fe3
|
|
98cddf7c8f964cd07155be13b38a1e52d55d635466186e8295af5d10f0ec263f
|
|
d9fb28e4fbb960e307633ca202077daf6a56b3f0195042ee87f62dc946b2694e
|
|
42d5c1ad62744e01854ee4f1423736334be2e7f25802f540c3f51cb1880d2a43
|
|
af3d735345a49ccc22903dbc838992de06e0da98e2690cdc7976ea1051629b61
|
|
c7e7a351babcd8cc80b60b8c1175c1a62b2be189d47b2d15724006ba7c10532d
|
|
24846abb711e0a8ceda7d81ed218f9dcbcb10ff821f57142a7461127831cb2c7
|
|
24c2b121df35f3270762a8111df3acf9511c9129d6dc0e70e055163e8dc90b71
|
|
3d2072f02637575bc07ceed719e8c405fde012f1a338efd9db289e0a02c47839
|
|
201c354aa6ba0424eff12a9d1010d1bf5761141efafd580905346b70ae0c111f
|
|
7c13cc257f072988f2bebdc1acd8258a59db9a4345a89d52375fadf0f9cb0512
|
|
94340e166e2b47749903fcdbf0a3c9ccf9a2262b0c555563a89c2253bf7e8815
|
|
913d382fa22194bba2574cc5b8fd91d0aefd6986c5cf714217089f5717a7ccdd
|
|
d4ab61cccc9f87d4ddca26ece766e4a75ea121a9933656600e479af9024b7935
|
|
de46555788973e540f9c652d542996d8af7deb04cde5736ea9fbfea356dbe0d1
|
|
d855e78f2b4297f911dda3783a586cb2e146172937f9a0de7f83730ddb0132ca
|
|
8afc9c0cad72da7d834846e568424fb77e0452ff59dfa26b6867f26c51c68c2e
|
|
41b78dd8aeef0811d893561ae9d29aed2bf93c7dd4ddf0caa168381a4377e4e6
|
|
87aca772947bcf168135ab9d720f26a68b633ca27414c3630b07c90e458e0161
|
|
a7a1066a23d2a25280dd64cf80d774142e54dd42d3a139be4cabbd48b49234c5
|
|
eea3637f13febe8520c920de29d2009215736236497d6ae1a770e06305d34424
|
|
737b61c74f9fe7a133c4965cc23dca147d3f720c02e1c4b24ccf2c53e9ad7abd
|
|
5f9e2df9bec175d636f0a43e2ba2a5b23745e1f8b39dfe95660c726c32ec0719
|
|
73190b025be7b24c98ca498894224413931f6e2127eb1f21ed060677d92621bd
|
|
20120d4df6968e29930bf3e0af4feee926fbe468afe5486d8374e7d513c0f9d7
|
|
3172ffb378bd5eb63af1bce37ae53732971962da109180da5461c0530d891c11
|
|
d7af0c95be906df64fca635efacdaeeaf3684baddd16e653deb58bd17e1f91a8
|
|
b8c6a54eaf412f814b961fcce25c6bb7f2e649ffaed4fb8e1f42b6090125e46c
|
|
83bc38f4b80e0b234d97df7b6081db01a073f88f7abdafe26ec9a8defab8a694
|
|
1a430485ddd376f58e5837718799947b74caa3ea8c3bb6dd72493de8aa8abfd4
|
|
a51f6e5bee342def7fe0784749762dcadb4831e89b03a70f3093e1c89ef9e481
|
|
1bad3b0a248d97737a2782317cf006c8a5b7eb8de10ddf1b59d18c526633603e
|
|
5f80fbd46650ab37bfbdd6a8f281678251d8ff24699dfcf460f35eb61e2ffa6b
|
|
88eed75dc57e0c58a3b6c4bc98d3d253f9b9a76acd828ed1b28d5f38836fccdb
|
|
09100fc12613d1068b6104d0de92142b1e35a0d05ec9f45fb70941a8b629afe1"
|