[arch-commits] Commit in libreoffice-fresh-i18n/trunk (PKGBUILD)
Andreas Radke
andyrtr at archlinux.org
Fri Apr 6 08:28:27 UTC 2018
Date: Friday, April 6, 2018 @ 08:28:27
Author: andyrtr
Revision: 321262
upgpkg: libreoffice-fresh-i18n 6.0.3-2
fix language replaces FS#58135
Modified:
libreoffice-fresh-i18n/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-06 07:44:41 UTC (rev 321261)
+++ PKGBUILD 2018-04-06 08:28:27 UTC (rev 321262)
@@ -5,7 +5,7 @@
pkgbase=libreoffice-fresh-i18n
pkgver=6.0.3
-pkgrel=1
+pkgrel=2
_rcver=${pkgver}.2
#_oodlver=${pkgver}.0.beta1
_oodlver=${pkgver}
@@ -513,6 +513,9 @@
depends=('libreoffice-fresh')
provides=("libreoffice-$1")
conflicts=("libreoffice-$1")
+ if [[ $1 != ${1,,} ]]; then
+ replaces=(libreoffice-fresh-$1)
+ fi
cd "$srcdir"/LibreOffice_${_rcver}_Linux_x86-64_rpm_langpack_$1/RPMS
mkdir -p "$pkgdir"/usr/lib/libreoffice
@@ -525,10 +528,6 @@
_locale="${_langa[0]}"
_helppack="${_langa[2]}"
_pkgname=libreoffice-fresh-${_locale,,}
- if [[ $_locale != ${_locale,,} ]]; then
- replaces=(libreoffice-fresh-$_locale)
- fi
-
pkgname+=($_pkgname)
source+=(${_url}/LibreOffice_${_oodlver}_Linux_x86-64_rpm_langpack_${_locale}.tar.gz{,.asc})
More information about the arch-commits
mailing list