libreoffice-i18n: install to /usr; don't set noarch.

the -i18n-* pkgs must not be noarch to avoid adding them to architectures
that cannot build the libreoffice pkg.
This commit is contained in:
Juan RP 2016-04-30 09:45:30 +02:00
parent 47ed97b986
commit 93a8470beb
1 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'libreoffice-i18n'
pkgname=libreoffice-i18n
version=5.1.0
revision=1
revision=2
build_style=meta
nocross=yes
hostmakedepends="rpmextract"
@ -332,10 +332,9 @@ _pkgtmpl() {
_version="$3"
depends="libreoffice>=${version}"
short_desc="LibreOffice localization files - $2 language pack"
noarch=yes
pkg_install() {
vmkdir opt/libreoffice${_version}
mv ${wrksrc}/p_${_lang}/lib ${PKGDESTDIR}/opt/libreoffice${_version}/
vmkdir usr/libreoffice${_version}
mv ${wrksrc}/p_${_lang}/lib ${PKGDESTDIR}/usr/libreoffice${_version}/
}
}