# Template file for 'libreoffice-bin-i18n'
pkgname=libreoffice-bin-i18n
version=4.2.4
revision=1
hostmakedepends="rpmextract"
short_desc="LibreOffice localization files (binary build)"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="LGPL"
homepage="http://www.documentfoundation.org/"
_url="http://download.documentfoundation.org/libreoffice/stable/${version}/rpm/x86"
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.tar.gz
 ${_url}/LibreOffice_${version}_Linux_x86_rpm_helppack_ca-valencia.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.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_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_kn.tar.gz
 ${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_kok.tar.gz
 ${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_ko.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_mni.tar.gz
 ${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_mn.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_sid.tar.gz
 ${_url}/LibreOffice_${version}_Linux_x86_rpm_langpack_si.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.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_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"

checksum="
[encoded data, 10660 characters]
"

noarch=yes
create_wrksrc=yes
depends="
 libreoffice-bin-i18n-af libreoffice-bin-i18n-am libreoffice-bin-i18n-ar libreoffice-bin-i18n-as libreoffice-bin-i18n-ast libreoffice-bin-i18n-be
 libreoffice-bin-i18n-bg libreoffice-bin-i18n-bn libreoffice-bin-i18n-bn-IN libreoffice-bin-i18n-bo libreoffice-bin-i18n-br libreoffice-bin-i18n-brx libreoffice-bin-i18n-bs
 libreoffice-bin-i18n-ca libreoffice-bin-i18n-ca-valencia libreoffice-bin-i18n-cs libreoffice-bin-i18n-cy libreoffice-bin-i18n-da libreoffice-bin-i18n-de libreoffice-bin-i18n-dgo
 libreoffice-bin-i18n-dz libreoffice-bin-i18n-el libreoffice-bin-i18n-en-GB libreoffice-bin-i18n-en-US libreoffice-bin-i18n-en-ZA libreoffice-bin-i18n-eo libreoffice-bin-i18n-es
 libreoffice-bin-i18n-et libreoffice-bin-i18n-eu libreoffice-bin-i18n-fa libreoffice-bin-i18n-fi libreoffice-bin-i18n-fr libreoffice-bin-i18n-ga libreoffice-bin-i18n-gd
 libreoffice-bin-i18n-gl libreoffice-bin-i18n-gu libreoffice-bin-i18n-he libreoffice-bin-i18n-hi libreoffice-bin-i18n-hr libreoffice-bin-i18n-hu libreoffice-bin-i18n-id
 libreoffice-bin-i18n-is libreoffice-bin-i18n-it libreoffice-bin-i18n-ja libreoffice-bin-i18n-ka libreoffice-bin-i18n-kk libreoffice-bin-i18n-km libreoffice-bin-i18n-kn
 libreoffice-bin-i18n-ko libreoffice-bin-i18n-kok libreoffice-bin-i18n-ks libreoffice-bin-i18n-ku libreoffice-bin-i18n-lb libreoffice-bin-i18n-lo libreoffice-bin-i18n-lt
 libreoffice-bin-i18n-lv libreoffice-bin-i18n-mai libreoffice-bin-i18n-mk libreoffice-bin-i18n-ml libreoffice-bin-i18n-mn libreoffice-bin-i18n-mni libreoffice-bin-i18n-mr
 libreoffice-bin-i18n-my libreoffice-bin-i18n-nb libreoffice-bin-i18n-ne libreoffice-bin-i18n-nl libreoffice-bin-i18n-nn libreoffice-bin-i18n-nr libreoffice-bin-i18n-nso
 libreoffice-bin-i18n-oc libreoffice-bin-i18n-om libreoffice-bin-i18n-or libreoffice-bin-i18n-pa-IN libreoffice-bin-i18n-pl libreoffice-bin-i18n-pt libreoffice-bin-i18n-pt-BR
 libreoffice-bin-i18n-ro libreoffice-bin-i18n-ru libreoffice-bin-i18n-rw libreoffice-bin-i18n-sa-IN libreoffice-bin-i18n-sat libreoffice-bin-i18n-sd libreoffice-bin-i18n-sh
 libreoffice-bin-i18n-si libreoffice-bin-i18n-sid libreoffice-bin-i18n-sk libreoffice-bin-i18n-sl libreoffice-bin-i18n-sq libreoffice-bin-i18n-sr libreoffice-bin-i18n-ss
 libreoffice-bin-i18n-st libreoffice-bin-i18n-sv libreoffice-bin-i18n-sw-TZ libreoffice-bin-i18n-ta libreoffice-bin-i18n-te libreoffice-bin-i18n-tg libreoffice-bin-i18n-th
 libreoffice-bin-i18n-tn libreoffice-bin-i18n-tr libreoffice-bin-i18n-ts libreoffice-bin-i18n-tt libreoffice-bin-i18n-ug libreoffice-bin-i18n-uk libreoffice-bin-i18n-uz
 libreoffice-bin-i18n-ve libreoffice-bin-i18n-vi libreoffice-bin-i18n-xh libreoffice-bin-i18n-zh-CN libreoffice-bin-i18n-zh-TW libreoffice-bin-i18n-zu"

do_build() {
	for i in $distfiles; do
		_localver="${version}.2"
		_tarbname="${i##*/}"
		_tarbname="${_tarbname%*.tar.gz}"
		_lang="${_tarbname##*_}"
		echo "Unpacking ${_tarbname}..."
		# We create a directory using p_${_lang} (for example p_zh-TW) containing
		# opt/libreoffice*, with helppack and/or langpack extracted inside it.
		if [ ! -d "${wrksrc}/p_${_lang}" ]; then
			mkdir -p ${wrksrc}/p_${_lang}
		fi
		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
	done
}

do_install() {
	# empty
	:
}

libreoffice-bin-i18n-af_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Afrikaans language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_af/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-am_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Amharic language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_am/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-ar_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Arabic language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_ar/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-as_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Assamese (India) language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_as/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-ast_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Asturianu language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_ast/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-be_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Belarusian language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_be/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-bg_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Belarusian language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_bg/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-bn_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Bengali language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_bn/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-bn-IN_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Bengali (India) language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_bn-IN/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-bo_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Tibetan language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_bo/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-br_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Breton language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_br/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-brx_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Bodo language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_brx/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-bs_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Bosnian language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_bs/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-ca_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Catalan language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_ca/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-ca-valencia_package () {
	replaces="libreoffice-bin-i18n-ca-XV>=0"
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Catalan (Valencia) language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_ca-valencia/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-cs_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Czech language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_cs/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-cy_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Welsh language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_cy/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-da_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Danish language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_da/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-de_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - German language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_de/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-dgo_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Dogri language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_dgo/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-dz_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Dzongkha language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_dz/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-el_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Greek language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_el/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-en-GB_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - English (GB) language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_en-GB/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-en-US_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - English (US) language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_en-US/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-en-ZA_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - English (ZA) language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_en-ZA/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-eo_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Esperanto language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_eo/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-es_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Esperanto language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_es/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-et_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Estonian language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_et/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-eu_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Estonian language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_eu/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-fa_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Persian language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_fa/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-fi_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Finnish language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_fi/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-fr_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - French language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_fr/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-ga_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Irish language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_ga/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-gd_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Gaelic (Scottish) language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_gd/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-gl_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Galician language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_gl/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-gu_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Gujarati language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_gu/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-he_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Hebrew language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_he/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-hi_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Hindi language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_hi/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-hr_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Croatian language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_hr/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-hu_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Hungarian language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_hu/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-id_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Bahasa Indonesia language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_id/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-is_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Icelandic language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_is/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-it_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Italian language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_it/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-ja_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Japanese language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_ja/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-ka_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Georgian language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_ka/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-kk_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Kazakh language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_kk/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-km_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Khmer (Cambodia) language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_km/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-kn_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Kannada language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_kn/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-ko_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Korean language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_ko/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-kok_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Konkani language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_kok/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-ks_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Kashmiri language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_ks/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-lb_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Luxembourgish language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_lb/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-lo_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Lao language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_lo/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-lt_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Lithuanian language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_lt/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-lv_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Latvian language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_lv/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-mai_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Maithili language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_mai/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-mk_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Macedonian language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_mk/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-ml_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Malayalam language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_ml/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-mn_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Mongolian language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_mn/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-mni_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Manipuri language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_mni/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-mr_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Marathi language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_mr/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-my_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Burmese language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_my/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-nb_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Norwegian Bokmal language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_nb/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-ne_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Nepali language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_ne/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-nl_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Dutch language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_nl/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-nn_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Norwegian Nynorsk language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_nn/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-nr_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Ndebele (South) language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_nr/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-nso_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Northern Sotho language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_nso/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-oc_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Occitan language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_oc/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-om_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Oromo language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_om/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-or_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Oriya language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_or/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-pa-IN_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Punjabi (India) language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_pa-IN/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-pl_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Polish language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_pl/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-pt_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Portuguese language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_pt/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-pt-BR_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Portuguese (Brasil) language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_pt-BR/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-ro_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Romanian language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_ro/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-ru_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Russian language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_ru/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-rw_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Kinyarwanda language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_rw/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-sa-IN_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Sanskrit (India) language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_sa-IN/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-sat_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Santali language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_sat/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-sd_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Sindhi language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_sd/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-si_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Singhalese language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_si/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-sid_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Sidama language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_sid/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-sk_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Slovak language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_sk/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-sl_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Slovenian language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_sl/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-sq_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Albanien language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_sq/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-sr_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Serbian language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_sr/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-ss_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Swati language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_ss/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-st_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Southern language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_st/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-sv_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Swedish language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_sv/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-sw-TZ_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Swahili language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_sw-TZ/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-ta_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Tamil language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_ta/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-te_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Telugu language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_te/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-tg_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Tajik language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_tg/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-th_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Thai language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_th/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-tn_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Tswana language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_tn/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-tr_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Turkish language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_tr/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-ts_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Tsonga language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_ts/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-tt_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Tatar language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_tt/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-ug_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Uighur language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_ug/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-uk_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Ukrainian language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_uk/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-uz_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Uzbek language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_uz/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-ve_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Venda language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_ve/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-vi_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Vietnamese language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_vi/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-xh_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Xhosa language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_xh/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-zh-CN_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Chinese (simplified) language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_zh-CN/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-zh-TW_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Chinese (traditional) language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_zh-TW/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}

libreoffice-bin-i18n-zu_package () {
	depends="libreoffice-bin"
	noarch=yes
	short_desc+=" - Zulu language pack"
	pkg_install() {
		vmkdir opt
		cp -R ${wrksrc}/p_zu/opt/libreoffice*/ ${PKGDESTDIR}/opt/
	}
}
